wallet: revert blockhash properly during reorg
This commit is contained in:
parent
aecb972d75
commit
b7013bf5e1
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 {
|
||||
return err
|
||||
}
|
||||
b.Hash = *hash
|
||||
bs.Hash = *hash
|
||||
|
||||
client := w.ChainClient()
|
||||
header, err := client.GetBlockHeader(hash)
|
||||
|
|
Loading…
Reference in a new issue