Skip to content

Commit

Permalink
types: fix contract arg of runUpdateRewardsLoop (#478)
Browse files Browse the repository at this point in the history
The functions accepts a list of Ethers Contract instances.

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
  • Loading branch information
bajtos authored May 22, 2024
1 parent 5990b9a commit a0e895a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rewards.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import timers from 'node:timers/promises'

/**
* @param {object} args
* @param {string[]} args.contracts
* @param {import('ethers').Contract[]} args.contracts
* @param {string} args.ethAddress
* @param {(m: Partial<import('./metrics.js').MetricsEvent>) => void} args.onMetrics
*/
Expand Down

0 comments on commit a0e895a

Please sign in to comment.