Fix race condition after reorg #29
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ func (w *Wallet) disconnectBlock(dbtx walletdb.ReadWriteTx, b wtxmgr.BlockMeta)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
b.Hash = *hash
|
bs.Hash = *hash
|
||||||
|
|
||||||
client := w.ChainClient()
|
client := w.ChainClient()
|
||||||
header, err := client.GetBlockHeader(hash)
|
header, err := client.GetBlockHeader(hash)
|
||||||
|
|
Loading…
Reference in a new issue