1
0
This commit is contained in:
ThomasV
2020-05-05 15:40:13 +02:00
parent 887b643706
commit d7b853f271
2 changed files with 37 additions and 10 deletions

View File

@@ -1110,6 +1110,7 @@ class LNWallet(LNWorker):
return bfh(r) if r else None
def get_payment_info(self, payment_hash: bytes) -> Optional[PaymentInfo]:
"""returns None if payment_hash is a payment we are forwarding"""
key = payment_hash.hex()
with self.lock:
if key in self.payments: