fix: avoid duplicate keysign for outTx already pending#1518
Conversation
|
!!!WARNING!!! Be very careful about using Only suppress a single rule (or a specific set of rules) within a section of code, while continuing to scan for other problems. To do this, you can list the rule(s) to be suppressed within the #nosec annotation, e.g: /* #nosec G401 */ or //#nosec G201 G202 G203 Pay extra attention to the way |
…om/zeta-chain/node into avoid-duplicate-keysign-same-outtx
lumtis
left a comment
There was a problem hiding this comment.
The logic looks ok, left few comments
Description
We should skip unnecessary keysign if the tx being signed is already pending.
Closes: 1478
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.
Checklist: