Skip to content

Commit

Permalink
Do not remove txs from extra block on reorgs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick committed May 4, 2015
1 parent c820c8a commit 8ce25ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/chainntfns.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 8ce25ce

Please sign in to comment.