swaps: rm support for p2wsh-p2sh lockup scripts
- unused - the client was already refusing to fund such lockup addresses (if the server asked) - no existing unit tests for it, and as the choice is up to the server, it is hard to create tests - no clear reason to want to use p2sh-nested scripts here, aside from curiosity
This commit is contained in:
@@ -34,7 +34,6 @@ class TestSwapTxs(TestCaseForTestnet):
|
||||
prevout=TxOutpoint(txid=bfh(swap_data.funding_txid), out_idx=0),
|
||||
)
|
||||
txin._trusted_value_sats = swap_data.onchain_amount
|
||||
txin._trusted_address = swap_data.lockup_address
|
||||
tx = SwapManager._create_and_sign_claim_tx(
|
||||
txin=txin,
|
||||
swap=swap_data,
|
||||
@@ -65,7 +64,6 @@ class TestSwapTxs(TestCaseForTestnet):
|
||||
prevout=TxOutpoint(txid=bfh(swap_data.funding_txid), out_idx=0),
|
||||
)
|
||||
txin._trusted_value_sats = swap_data.onchain_amount
|
||||
txin._trusted_address = swap_data.lockup_address
|
||||
tx = SwapManager._create_and_sign_claim_tx(
|
||||
txin=txin,
|
||||
swap=swap_data,
|
||||
|
||||
Reference in New Issue
Block a user