mirror of
https://github.com/lightninglabs/loop
synced 2024-11-09 19:10:47 +00:00
fa8703f052
According to AddTapscriptInput's godoc, the first argument (leafWitnessSize) must include not the whole size of witness, but only the size of data consumed by the revealed script. Previously the value was too high, because it also included the following extra elements: number_of_witness_elements (1 byte), witness script and its size, control block and its size. Tests for greedy_batch_selection were affected by this change. |
||
---|---|---|
.. | ||
fees.go | ||
htlc_test.go | ||
htlc.go | ||
keychain.go | ||
log.go | ||
tx.go | ||
type.go |