Skip to content

Commit

Permalink
Merge branch 'feature/custom-nonce' of github.com:MetaMask/controller…
Browse files Browse the repository at this point in the history
…s into feature/custom-nonce

* 'feature/custom-nonce' of github.com:MetaMask/controllers:
  Update src/transaction/TransactionController.ts
  lint nit
  Create nonce variable
  Allow custom nonce
  • Loading branch information
rickycodes committed Mar 16, 2021
2 parents 7c9881c + c531ebf commit aa9a34e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/transaction/TransactionController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,7 @@ export class TransactionController extends BaseController<TransactionConfig, Tra
const currentChainId = network?.state?.provider?.chainId;
const index = transactions.findIndex(({ id }) => transactionID === id);
const transactionMeta = transactions[index];
/* istanbul ignore next */
const nonce = transactionMeta.transaction?.nonce;
const { nonce } = transactionMeta.transaction;

try {
const { from } = transactionMeta.transaction;
Expand Down

0 comments on commit aa9a34e

Please sign in to comment.