mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
(trivial) fix type annotation
This commit is contained in:
parent
087994e39a
commit
f060e53912
2 changed files with 2 additions and 2 deletions
|
@ -707,7 +707,7 @@ class Channel(Logger):
|
||||||
return int(self.config[LOCAL].multisig_key.pubkey > self.config[REMOTE].multisig_key.pubkey)
|
return int(self.config[LOCAL].multisig_key.pubkey > self.config[REMOTE].multisig_key.pubkey)
|
||||||
|
|
||||||
def make_closing_tx(self, local_script: bytes, remote_script: bytes,
|
def make_closing_tx(self, local_script: bytes, remote_script: bytes,
|
||||||
fee_sat: int) -> Tuple[bytes, int, str]:
|
fee_sat: int) -> Tuple[bytes, Transaction]:
|
||||||
""" cooperative close """
|
""" cooperative close """
|
||||||
_, outputs = make_commitment_outputs({
|
_, outputs = make_commitment_outputs({
|
||||||
LOCAL: fee_sat * 1000 if self.constraints.is_initiator else 0,
|
LOCAL: fee_sat * 1000 if self.constraints.is_initiator else 0,
|
||||||
|
|
|
@ -1359,7 +1359,7 @@ class Peer(Logger):
|
||||||
their_sig = cs_payload['signature']
|
their_sig = cs_payload['signature']
|
||||||
if our_fee == their_fee:
|
if our_fee == their_fee:
|
||||||
break
|
break
|
||||||
# TODO: negociate better
|
# TODO: negotiate better
|
||||||
our_fee = their_fee
|
our_fee = their_fee
|
||||||
# index of our_sig
|
# index of our_sig
|
||||||
i = chan.get_local_index()
|
i = chan.get_local_index()
|
||||||
|
|
Loading…
Add table
Reference in a new issue