Skip to content

Commit

Permalink
fix test, the change made the last already confirmed but not not pending
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDP committed Jul 10, 2020
1 parent ac0b14d commit 93cedf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/src/store/states.rs
Expand Up @@ -366,7 +366,7 @@ mod tests {

multiverse.confirm(&4);
assert_eq!((&1, &()), multiverse.confirmed_state());
assert_eq!((&4, &(), Status::Pending), multiverse.last_state());
assert_eq!((&4, &(), Status::Confirmed), multiverse.last_state());

multiverse.confirm(&3);
multiverse.confirm(&2);
Expand Down

0 comments on commit 93cedf0

Please sign in to comment.