mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Use rejected constant within transaction state manager (#12458)
This commit is contained in:
parent
a4ddeed799
commit
b7b21ed20b
@ -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…
Reference in New Issue
Block a user