Skip to content

Commit

Permalink
Remove optimized out debug_assert!s
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Apr 14, 2021
1 parent dd8d33e commit 8f950a7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/tgrade-valset/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,6 @@ mod test {
assert_eq!(expected, validator_keys.operators);

// Then come the members (2nd batch, different limit)
debug_assert!(PREREGISTER_NONMEMBERS > 0);
let validator_keys: ListValidatorKeysResponse = app
.wrap()
.query_wasm_smart(
Expand All @@ -591,7 +590,6 @@ mod test {
assert_eq!(expected, validator_keys.operators);

// And that's all
debug_assert!(PREREGISTER_MEMBERS > 0);
let last = validator_keys.operators.last().unwrap().operator.clone();
let validator_keys: ListValidatorKeysResponse = app
.wrap()
Expand Down

0 comments on commit 8f950a7

Please sign in to comment.