Commit 27a1fa1
tcsenpai
fix: deduplicate transactions in petriBlockCompiler before ordering
A resolved TX from arbitration could still be in the mempool, causing
duplicates in the block. Use a hash-keyed Map to deduplicate before
ordering. Closes mycelium #144 (CR-4).1 parent 567848d commit 27a1fa1
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
| |||
0 commit comments