aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-07-19 04:59:56 +0800
committerkumavis <aaron@kumavis.me>2017-07-19 04:59:56 +0800
commitd249da77d7f9602507f708b4778c2128737d4dc5 (patch)
tree4a9d1b33ca8d63941e079719b823a600dc42f6af
parent4f9fc8014a1830c9ec7bd35b77f5ee4f5a089fb8 (diff)
downloadtangerine-wallet-browser-d249da77d7f9602507f708b4778c2128737d4dc5.tar
tangerine-wallet-browser-d249da77d7f9602507f708b4778c2128737d4dc5.tar.gz
tangerine-wallet-browser-d249da77d7f9602507f708b4778c2128737d4dc5.tar.bz2
tangerine-wallet-browser-d249da77d7f9602507f708b4778c2128737d4dc5.tar.lz
tangerine-wallet-browser-d249da77d7f9602507f708b4778c2128737d4dc5.tar.xz
tangerine-wallet-browser-d249da77d7f9602507f708b4778c2128737d4dc5.tar.zst
tangerine-wallet-browser-d249da77d7f9602507f708b4778c2128737d4dc5.zip
nonce-tracker - return nonce as integer
-rw-r--r--app/scripts/lib/nonce-tracker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/nonce-tracker.js b/app/scripts/lib/nonce-tracker.js
index cea798915..ba05fd124 100644
--- a/app/scripts/lib/nonce-tracker.js
+++ b/app/scripts/lib/nonce-tracker.js
@@ -30,7 +30,7 @@ class NonceTracker {
const nextNonce = baseCount + pendingCount
assert(Number.isInteger(nextNonce), 'nonce-tracker - nextNonce is an integer')
// return next nonce and release cb
- return { nextNonce: '0x' + nextNonce.toString(16), releaseLock }
+ return { nextNonce, releaseLock }
}
async _getCurrentBlock () {