nonce-tracker - add raw baseNonceHex to nonceDetails

feature/default_network_editable
kumavis 7 years ago
parent 7e2e4948a6
commit b15a2baaf3
  1. 2
      app/scripts/lib/nonce-tracker.js

@ -39,7 +39,7 @@ class NonceTracker {
assert(Number.isInteger(nextNonce), `nonce-tracker - nextNonce is not an integer - got: (${typeof nextNonce}) "${nextNonce}"`) assert(Number.isInteger(nextNonce), `nonce-tracker - nextNonce is not an integer - got: (${typeof nextNonce}) "${nextNonce}"`)
// collect the numbers used to calculate the nonce for debugging // collect the numbers used to calculate the nonce for debugging
const blockNumber = currentBlock.number const blockNumber = currentBlock.number
const nonceDetails = { blockNumber, baseCount, pendingCount } const nonceDetails = { blockNumber, baseCount, baseCountHex, pendingCount }
// return nonce and release cb // return nonce and release cb
return { nextNonce, nonceDetails, releaseLock } return { nextNonce, nonceDetails, releaseLock }
} }

Loading…
Cancel
Save