Commit 03111f0
committed
fix(wasm-solana): return empty string for unsigned (all-zeros) signatures
The parse_transaction function was blindly converting all signatures to
base58, causing all-zeros placeholder signatures to become
'1111111111111111111111111111111111111111111111111111111111111111'.
Now checks each signature for all-zeros and returns empty string instead,
matching the behavior of Transaction::id() which returns None for
unsigned transactions.
BTC-30251 parent 4ee3d1d commit 03111f0
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
158 | 171 | | |
159 | 172 | | |
160 | 173 | | |
| |||
0 commit comments