Commit b314202
committed
fix(abstract-eth): remove unreachable _counter undefined guard
_counter is typed as `number` and initialized to 0 in the constructor,
making the `_counter === undefined` check in validateBaseTransactionFields
permanently unreachable dead code. Remove it to eliminate a false sense
of safety flagged in the security audit.
Ticket: CGD-5761 parent 190b1d0 commit b314202
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | 389 | | |
393 | 390 | | |
394 | 391 | | |
| |||
0 commit comments