From 83ec64ddd2ac8204083366d6f41078121fdc4386 Mon Sep 17 00:00:00 2001 From: Jyoti Puri Date: Fri, 4 Nov 2022 23:17:53 +0530 Subject: [PATCH] Fix approve transaction call in _onBootCleanUp (#16382) --- app/scripts/controllers/transactions/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/controllers/transactions/index.js b/app/scripts/controllers/transactions/index.js index c6cf3a061..cd4c8c1a0 100644 --- a/app/scripts/controllers/transactions/index.js +++ b/app/scripts/controllers/transactions/index.js @@ -1844,7 +1844,7 @@ export default class TransactionController extends EventEmitter { .forEach((txMeta) => { // Line below will try to publish transaction which is in // APPROVED state at the time of controller bootup - this.approveTransaction(txMeta); + this.approveTransaction(txMeta.id); }); }