Skip to content

Commit

Permalink
string
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed May 31, 2023
1 parent 86cdd27 commit 893bd9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/status-page/src/utils/buildStatusIndicators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,9 @@ export async function buildStatusIndicators(
) => {
const contract = new Contract(address, TaikoL1, provider);
const listener = (id, blockHash, reward, ...args) => {
onEvent(`${ethers.utils.parseUnits(reward, decimals)} TKO`);
onEvent(
`${ethers.utils.parseUnits(reward.toString(), decimals)} TKO`
);
};
contract.on("BlockVerified", listener);

Expand Down

0 comments on commit 893bd9d

Please sign in to comment.