Skip to content

Commit

Permalink
Merge branch 'brent/pos-redelegation' (#1612)
Browse files Browse the repository at this point in the history
* brent/pos-redelegation:
  fix bug in SMv1 test
  • Loading branch information
brentstone committed Oct 19, 2023
2 parents 37798a8 + b6b376d commit fce7325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proof_of_stake/src/tests/state_machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ impl ConcretePosState {
.total_unbonded
.get(&id.validator)
.cloned()
.unwrap();
.unwrap_or_default();
abs_total_unbonded.retain(|_, inner_map| {
inner_map.retain(|_, value| !value.is_zero());
!inner_map.is_empty()
Expand Down

0 comments on commit fce7325

Please sign in to comment.