From 8accbb2e6b751278c83e8a3dc691788cf64e24f8 Mon Sep 17 00:00:00 2001 From: Alexey Date: Wed, 4 Dec 2019 21:59:13 +0300 Subject: [PATCH] fix nonce log --- src/Fetcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fetcher.js b/src/Fetcher.js index 3f64797..5e16f0c 100644 --- a/src/Fetcher.js +++ b/src/Fetcher.js @@ -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)