mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
There were two mistakes. In case of a swap with multiple sweeps only the fee of the first sweep of a swap was accounted. Rounding diff (the remainder) was attributed to all the sweeps rather than to the first (primary) sweep of the batch. The sweep to attribute the remainder was chosen by comparing SignatureScript which is always empty. New approach is to find the primary sweep and to compare its outpoint directly. |
||
|---|---|---|
| .. | ||
| greedy_batch_selection.go | ||
| greedy_batch_selection_test.go | ||
| log.go | ||
| presigned.go | ||
| presigned_test.go | ||
| store.go | ||
| store_mock.go | ||
| sweep_batch.go | ||
| sweep_batch_test.go | ||
| sweep_batcher.go | ||
| sweep_batcher_presigned_test.go | ||
| sweep_batcher_test.go | ||