mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-07-26 00:05:30 -04:00
fix nonce log
This commit is contained in:
parent
493f66c009
commit
8accbb2e6b
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class Fetcher {
|
||||||
async fetchNonce() {
|
async fetchNonce() {
|
||||||
try {
|
try {
|
||||||
config.nonce = await this.web3.eth.getTransactionCount(this.web3.eth.defaultAccount)
|
config.nonce = await this.web3.eth.getTransactionCount(this.web3.eth.defaultAccount)
|
||||||
console.log(`Current nonce: ${config.nonce}%`)
|
console.log(`Current nonce: ${config.nonce}`)
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
console.error('fetchNonce failed', e.message)
|
console.error('fetchNonce failed', e.message)
|
||||||
setTimeout(this.fetchNonce, 3000)
|
setTimeout(this.fetchNonce, 3000)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue