Skip to content

Commit

Permalink
fix: Wrong buildWallet call (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkersner authored Feb 8, 2023
1 parent 7429567 commit 7f657cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/reporter/aggregator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export async function reporter(_logger: Logger) {
_logger.debug({ name: 'reporter', file: FILE_NAME })

const { privateKey, providerUrl } = loadWalletParameters()
const wallet = buildWallet({ privateKey, providerUrl })
const wallet = await buildWallet({ privateKey, providerUrl })
new Worker(REPORTER_AGGREGATOR_QUEUE_NAME, await job(wallet, _logger), BULLMQ_CONNECTION)
}

Expand Down
2 changes: 1 addition & 1 deletion core/src/reporter/request-response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const FILE_NAME = import.meta.url
export async function reporter(_logger: Logger) {
_logger.debug({ name: 'reporter', file: FILE_NAME })
const { privateKey, providerUrl } = loadWalletParameters()
const wallet = buildWallet({ privateKey, providerUrl })
const wallet = await buildWallet({ privateKey, providerUrl })
new Worker(REPORTER_REQUEST_RESPONSE_QUEUE_NAME, await job(wallet, _logger), BULLMQ_CONNECTION)
}

Expand Down
2 changes: 1 addition & 1 deletion core/src/reporter/vrf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const FILE_NAME = import.meta.url
export async function reporter(_logger: Logger) {
_logger.debug({ name: 'vrfrReporter', file: FILE_NAME })
const { privateKey, providerUrl } = loadWalletParameters()
const wallet = buildWallet({ privateKey, providerUrl })
const wallet = await buildWallet({ privateKey, providerUrl })
new Worker(REPORTER_VRF_QUEUE_NAME, await job(wallet, _logger), BULLMQ_CONNECTION)
}

Expand Down

0 comments on commit 7f657cb

Please sign in to comment.