Skip to content

Commit

Permalink
Remove default value for customNonceValue
Browse files Browse the repository at this point in the history
  • Loading branch information
tmashuang committed Jul 2, 2020
1 parent 46582ae commit 6429004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/controllers/transactions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ export default class TransactionController extends EventEmitter {
const txMeta = this.txStateManager.getTx(txId)
const fromAddress = txMeta.txParams.from
// wait for a nonce
let { customNonceValue = null } = txMeta
let { customNonceValue } = txMeta
customNonceValue = Number(customNonceValue)
nonceLock = await this.nonceTracker.getNonceLock(fromAddress)
// add nonce to txParams
Expand Down

0 comments on commit 6429004

Please sign in to comment.