Do not remove txs from extra block on reorgs.
This commit is contained in:
parent
c820c8a015
commit
8ce25ce518
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ func (w *Wallet) disconnectBlock(bs waddrmgr.BlockStamp) error {
|
|||
if iter.Prev() {
|
||||
prev := iter.BlockStamp()
|
||||
w.Manager.SetSyncedTo(&prev)
|
||||
err := w.TxStore.Rollback(prev.Height)
|
||||
err := w.TxStore.Rollback(prev.Height + 1)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue