1
0

qt: pay_lightning_invoice - attempt paying multiple times in case of failure

This commit is contained in:
SomberNight
2018-08-01 18:32:16 +02:00
committed by ThomasV
parent 4d1785799b
commit b85aea1541
4 changed files with 39 additions and 11 deletions

View File

@@ -511,10 +511,12 @@ class HTLCStateMachine(PrintError):
@property
def htlcs_in_local(self):
"""in the local log. 'offered by us'"""
return self.gen_htlc_indices("local")
@property
def htlcs_in_remote(self):
"""in the remote log. 'offered by them'"""
return self.gen_htlc_indices("remote")
def settle_htlc(self, preimage, htlc_id):