From cd3d90fb9e188e2fcfb812e2580b8121b71b2db9 Mon Sep 17 00:00:00 2001 From: ttblack Date: Thu, 23 Dec 2021 10:52:04 +0800 Subject: [PATCH] modify version to v0.2.0 --- params/version.go | 2 +- .../github.com/elastos/Elastos.ELA.SPV/blockchain/blockchain.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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() }