Commit 5a81fd9
committed
Fix fail safe iteration when forming ECDSA point
The last byte of a pubkey of Class B transactions is iterated until a valid ECDSA point is formed. A valid point is usually right around the corner, but there is a fail safe included to avoid looping the last byte forever, in case there is none. The loop for this was faulty and is fixed now.
Thanks to @lxjxiaojun for spotting this!1 parent d945a38 commit 5a81fd9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments