1
0

lnworker: (trivial) get_payment_bundle to not return None

This commit is contained in:
SomberNight
2025-08-21 17:39:31 +00:00
parent 07d69bd876
commit c1d2fc2b42

View File

@@ -2316,6 +2316,7 @@ class LNWallet(LNWorker):
for key_list in self.payment_bundles:
if payment_key in key_list:
return key_list
return []
def save_preimage(self, payment_hash: bytes, preimage: bytes, *, write_to_disk: bool = True):
if sha256(preimage) != payment_hash: