diff --git a/params/version.go b/params/version.go index a0642b02..4007f734 100644 --- a/params/version.go +++ b/params/version.go @@ -25,7 +25,7 @@ const ( VersionMinor = 9 // Minor version component of the current release VersionPatch = 7 // Patch version component of the current release VersionCross = 0 // Cross version component of the current release - VersionMeta = "v0.1.3" // Version metadata to append to the version string + VersionMeta = "v0.2.0" // Version metadata to append to the version string ) // Version holds the textual version string. diff --git a/vendor/github.com/elastos/Elastos.ELA.SPV/blockchain/blockchain.go b/vendor/github.com/elastos/Elastos.ELA.SPV/blockchain/blockchain.go index c9885b58..5ec8a45b 100644 --- a/vendor/github.com/elastos/Elastos.ELA.SPV/blockchain/blockchain.go +++ b/vendor/github.com/elastos/Elastos.ELA.SPV/blockchain/blockchain.go @@ -258,5 +258,6 @@ func (b *BlockChain) Clear() error { // Close the blockchain func (b *BlockChain) Close() error { b.lock.Lock() + defer b.lock.Unlock() return b.db.Close() }