Use rejected constant within transaction state manager (#12458)

feature/default_network_editable
David Walsh 3 years ago committed by GitHub
parent a4ddeed799
commit b7b21ed20b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/scripts/controllers/transactions/tx-state-manager.js

@ -447,7 +447,7 @@ export default class TransactionStateManager extends EventEmitter {
* @param {number} txId - the target TransactionMeta's Id
*/
setTxStatusRejected(txId) {
this._setTransactionStatus(txId, 'rejected');
this._setTransactionStatus(txId, TRANSACTION_STATUSES.REJECTED);
this._deleteTransaction(txId);
}

Loading…
Cancel
Save