nonce-tracker - return nonce as integer

feature/default_network_editable
kumavis 7 years ago
parent 4f9fc8014a
commit d249da77d7
  1. 2
      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 () {

Loading…
Cancel
Save