1
0

lnbase: more type annotations, and minor fix

This commit is contained in:
SomberNight
2018-10-25 19:53:31 +02:00
committed by ThomasV
parent 449ec013fe
commit ce2b572fa5
2 changed files with 67 additions and 66 deletions

View File

@@ -781,7 +781,8 @@ class Channel(PrintError):
),
htlcs=htlcs)
def make_closing_tx(self, local_script: bytes, remote_script: bytes, fee_sat: Optional[int] = None) -> (bytes, int):
def make_closing_tx(self, local_script: bytes, remote_script: bytes,
fee_sat: Optional[int]=None) -> Tuple[bytes, int, str]:
if fee_sat is None:
fee_sat = self.pending_local_fee