Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick committed Feb 23, 2024
1 parent 0670a13 commit 942a0cc
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 @@ -249,7 +249,7 @@ func (w *Wallet) ChainSwitch(ctx context.Context, forest *SidechainForest, chain
forest.PruneChain(chain)
forest.Prune(int32(chain[len(chain)-1].Header.Height), w.chainParams)

w.mixpool.ExpireMessages(chain[len(chain)-1].Header.Height)
w.mixClient.ExpireMessages(chain[len(chain)-1].Header.Height)

w.NtfnServer.notifyMainChainTipChanged(chainTipChanges)
w.NtfnServer.sendAttachedBlockNotification(ctx)
Expand Down

0 comments on commit 942a0cc

Please sign in to comment.