Commit 649a0a7
feat(wasm-utxo): improve handling of OP_RETURN outputs in PSBT parser
Add special handling for OP_RETURN outputs, which have zero value and no
address. Update tests to properly check these conditions and fix spend
amount calculations accordingly.
Co-authored-by: llm-git <llm-git@ttll.de>1 parent c953971 commit 649a0a7
File tree
49 files changed
+354
-370
lines changed- packages/wasm-utxo/test
- fixedScript
- fixtures/fixed-script
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+354
-370
lines changedLines changed: 8 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
166 | 171 | | |
167 | 172 | | |
168 | 173 | | |
169 | | - | |
| 174 | + | |
170 | 175 | | |
171 | 176 | | |
172 | 177 | | |
| |||
256 | 261 | | |
257 | 262 | | |
258 | 263 | | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | 264 | | |
281 | 265 | | |
282 | 266 | | |
| |||
Lines changed: 30 additions & 30 deletions
Large diffs are not rendered by default.
Lines changed: 14 additions & 14 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
0 commit comments