Skip to content
Snippets Groups Projects
Unverified Commit ebe2aad6 authored by Serban Iorga's avatar Serban Iorga Committed by GitHub
Browse files

BEEFY: expect_validator_set() small fix (#2737)

Follow-up on https://github.com/paritytech/polkadot-sdk/pull/2716

Sorry, small miss
parent 792e3743
Branches
No related merge requests found
Pipeline #427168 passed with stages
in 1 hour, 5 minutes, and 53 seconds
......@@ -550,7 +550,7 @@ where
debug!(target: LOG_TARGET, "🥩 Trying to find validator set active at header: {:?}", at_header);
let mut header = at_header.clone();
loop {
if let Ok(Some(active)) = runtime.runtime_api().validator_set(at_header.hash()) {
if let Ok(Some(active)) = runtime.runtime_api().validator_set(header.hash()) {
return Ok(active)
} else {
debug!(target: LOG_TARGET, "🥩 Looking for auth set change at block number: {:?}", *header.number());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment