mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 16:37:57 +00:00
Fix nomination pools pending rewards RPC (#12095)
* Fix nomination pools pending rewards RPC * Fix node * Update frame/nomination-pools/src/lib.rs * Fix docs
This commit is contained in:
@@ -1842,7 +1842,7 @@ impl_runtime_apis! {
|
||||
|
||||
impl pallet_nomination_pools_runtime_api::NominationPoolsApi<Block, AccountId, Balance> for Runtime {
|
||||
fn pending_rewards(member_account: AccountId) -> Balance {
|
||||
NominationPools::pending_rewards(member_account)
|
||||
NominationPools::pending_rewards(member_account).unwrap_or_default()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user