Skip to content

Commit

Permalink
Update src/server/blockchain/AdminWallet.js
Browse files Browse the repository at this point in the history
  • Loading branch information
serdiukov-o-nordwhale committed Sep 15, 2020
1 parent 5c3237e commit b965937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/blockchain/AdminWallet.js
Expand Up @@ -453,8 +453,8 @@ export class Wallet {
txHash = hash
}

const tx = this.proxyContract.methods.topWallet(address)
const result = await retryTimeout(() => this.sendTransaction(tx), { onTransactionHash })
const makeTx = () => this.proxyContract.methods.topWallet(address)
const result = await retryTimeout(() => this.sendTransaction(makeTx()), { onTransactionHash })

log.debug('Topwallet result:', { txHash, address, res: result })
return result
Expand Down

0 comments on commit b965937

Please sign in to comment.