nomination-pools fix (#11748)

* Nomination pool fix

* fmt
This commit is contained in:
Sergej Sakac
2022-06-30 12:02:57 +02:00
committed by GitHub
parent b293cd9290
commit c39bea2245
2 changed files with 5 additions and 4 deletions
@@ -111,6 +111,7 @@ impl sp_staking::StakingInterface for StakingMock {
Ok(())
}
#[cfg(feature = "runtime-benchmarks")]
fn nominations(_: Self::AccountId) -> Option<Vec<Self::AccountId>> {
Nominations::get()
}