mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 17:41:08 +00:00
BEEFY: expect_validator_set() small fix (#2737)
Follow-up on https://github.com/paritytech/polkadot-sdk/pull/2716 Sorry, small miss
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user