Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
heisenberg-2077 committed Oct 25, 2024
1 parent 05b0e0f commit 5c11723
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ui/utils/sendTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ export const sendTransaction = async ({
}),
new Promise((_, reject) => {
eventBus.once(EVENTS.LEDGER.REJECTED, async (data) => {
if (signingTxId != null) {
wallet.removeSigningTx(signingTxId);
}
reject(new Error(data));
});
}),
Expand Down

0 comments on commit 5c11723

Please sign in to comment.