We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc05f96 commit 3c0ba80Copy full SHA for 3c0ba80
validator_worker/src/follower.rs
@@ -84,7 +84,7 @@ async fn on_new_state<'a, A: Adapter + 'static>(
84
}
85
86
let health = get_health(&iface.channel, balances, &proposed_balances);
87
- if health < u64::from(iface.config.health_unsignable_promilles).into() {
+ if health < u64::from(iface.config.health_unsignable_promilles) {
88
return Ok(on_error(&iface, &new_state, InvalidNewState::Health).await);
89
90
0 commit comments