fix nonce log

This commit is contained in:
Alexey 2019-12-04 21:59:13 +03:00
parent 493f66c009
commit 8accbb2e6b

@ -66,7 +66,7 @@ class Fetcher {
async fetchNonce() {
try {
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) {
console.error('fetchNonce failed', e.message)
setTimeout(this.fetchNonce, 3000)