diff --git a/src/main/generic/consensus/base/account/Accounts.js b/src/main/generic/consensus/base/account/Accounts.js index a7711f1b9..ed7be68f8 100644 --- a/src/main/generic/consensus/base/account/Accounts.js +++ b/src/main/generic/consensus/base/account/Accounts.js @@ -144,7 +144,7 @@ class Accounts extends Observable { const toBePruned = []; for (const tx of transactions) { const senderAccount = this._getSync(tx.sender, undefined, tree); - if (senderAccount.isToBePruned()) { + if (senderAccount.isToBePruned() && toBePruned.findIndex((acc) => acc.address.equals(tx.sender)) == -1) { toBePruned.push(new PrunedAccount(tx.sender, senderAccount)); } }