mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
multi: completely remove support for NP2WSH htlcs
This commit removes all code related to NP2WSH htlcs. These were historically used when segwit adoption was very sporadic and are not used anywhere anymore. Some historical swaps stored in the DB may be listed with incorrect htlc adresses from here on.
This commit is contained in:
parent
b36885fb65
commit
88956455b4
15 changed files with 399 additions and 777 deletions
|
|
@ -370,9 +370,6 @@ func testLoopOutSuccess(ctx *testContext, amt btcutil.Amount, hash lntypes.Hash,
|
|||
|
||||
var preImageIndex int
|
||||
switch scriptVersion {
|
||||
case swap.HtlcV1:
|
||||
preImageIndex = 1
|
||||
|
||||
case swap.HtlcV2:
|
||||
preImageIndex = 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue