Commit 3174374
committed
tapfreighter: fix bug with burns not being recognized
This fixes the main part of the flake that caused burns to sometimes not
be recognized correctly.
Because we now also use the allocation code to create virtual packets,
we need to apply the same ordering of inputs to the selected commitments
before choosing the first input that the burn key is derived from.
Otherwise it can happen that the actual first input in the allocated
virtual transaction is another one and the resulting burn key isn't
recognized correctly.1 parent 0c224cc commit 3174374
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
525 | 526 | | |
526 | 527 | | |
527 | 528 | | |
528 | | - | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
529 | 536 | | |
530 | 537 | | |
531 | 538 | | |
| |||
0 commit comments