Commit 6117d0c
committed
Fix bug where uncompressing key removes prefix
This method is supposed to remove the prefix if the argument
is false. However, it does so indiscriminately. As a result, it can
sometimes give the public key have 63 bytes. This commit fixes
it by checking to see if removing the prefix would result in the
public key having 63 bytes.1 parent 4d05d7b commit 6117d0c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments