From 081f7b0dce8c3eac00b5fea66dde994ae5c0c4dc Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 20 Jun 2017 17:49:11 -0600 Subject: [PATCH] chain: fix issue where mutex can be unlocked twice --- chain/neutrino.go | 1 - 1 file changed, 1 deletion(-) diff --git a/chain/neutrino.go b/chain/neutrino.go index 80831a0..567e6c2 100644 --- a/chain/neutrino.go +++ b/chain/neutrino.go @@ -232,7 +232,6 @@ func (s *NeutrinoClient) NotifyReceived(addrs []btcutil.Address) error { // If we have a rescan running, we just need to add the appropriate // addresses to the watch list. if s.scanning { - s.clientMtx.Unlock() return s.rescan.Update(neutrino.AddAddrs(addrs...)) }