mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
lnutil: remove LI01 sort after Tx.from_io: fixup after rebase on da9d1e6001
This commit is contained in:
parent
50b3bc939c
commit
e18a3b5a3d
1 changed files with 0 additions and 3 deletions
|
@ -198,7 +198,6 @@ def make_htlc_tx(cltv_timeout, inputs, output):
|
|||
assert type(cltv_timeout) is int
|
||||
c_outputs = [output]
|
||||
tx = Transaction.from_io(inputs, c_outputs, locktime=cltv_timeout, version=2)
|
||||
tx.BIP_LI01_sort()
|
||||
return tx
|
||||
|
||||
def make_offered_htlc(revocation_pubkey, remote_htlcpubkey, local_htlcpubkey, payment_hash):
|
||||
|
@ -339,7 +338,6 @@ def make_commitment(ctn, local_funding_pubkey, remote_funding_pubkey,
|
|||
|
||||
# create commitment tx
|
||||
tx = Transaction.from_io(c_inputs, c_outputs_filtered, locktime=locktime, version=2)
|
||||
tx.BIP_LI01_sort()
|
||||
|
||||
tx.htlc_output_indices = {}
|
||||
for idx, output in enumerate(c_outputs):
|
||||
|
@ -472,5 +470,4 @@ def make_closing_tx(local_funding_pubkey: bytes, remote_funding_pubkey: bytes,
|
|||
funding_txid, funding_sat)
|
||||
c_input['sequence'] = 0xFFFF_FFFF
|
||||
tx = Transaction.from_io([c_input], outputs, locktime=0, version=2)
|
||||
tx.BIP_LI01_sort()
|
||||
return tx
|
||||
|
|
Loading…
Add table
Reference in a new issue