Skip to content

Commit

Permalink
One more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgenKor committed Dec 7, 2022
1 parent b23ca19 commit 43b966a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libzkbob-rs/src/client/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ where

let rollback_index = rollback_index & ((1 << constants::OUTPLUSONELOG) - 1);
self.txs.remove_from(rollback_index);
self.latest_account = None;
self.latest_account_index = None;
self.latest_note_index = 0;
for (index, tx) in self.txs.iter() {
match tx {
Expand Down

0 comments on commit 43b966a

Please sign in to comment.