Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
fix: error
Browse files Browse the repository at this point in the history
  • Loading branch information
impelcrypto committed Nov 24, 2023
1 parent 1b13472 commit d0b0275
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const estimatePendingRewards = async ({ api,
api.query.system.number(),
Number(api.consts.dappsStaking.blockPerEra),
String(
api.consts.blockReward.hasOwnProperty('maxBlockRewardAmount')
Object.prototype.hasOwnProperty.call(api.consts.blockReward, 'maxBlockRewardAmount')
? api.consts.blockReward.maxBlockRewardAmount
: api.consts.blockReward.rewardAmount
),
Expand Down

0 comments on commit d0b0275

Please sign in to comment.