Skip to content

Commit

Permalink
convert BigNumber to string
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Nov 17, 2023
1 parent f4c4795 commit 9297e01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/zinnia.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ async function handleEvents ({
case 'jobs-completed':
onMetrics({
totalJobsCompleted: event.total,
rewardsScheduledForAddress: await contract.rewardsScheduledFor(FIL_WALLET_ADDRESS)
rewardsScheduledForAddress:
(await contract.rewardsScheduledFor(FIL_WALLET_ADDRESS))
.toString()
})
break

Expand Down

0 comments on commit 9297e01

Please sign in to comment.