Fix/ln unsuccessful payment (#159)

* throws error for unsuccessful payment so that wallets get error message

* bump to 0.11.2
This commit is contained in:
calle
2023-04-03 20:52:14 +02:00
committed by GitHub
parent 190f78eb54
commit 6b631111d1
5 changed files with 6 additions and 4 deletions

View File

@@ -614,6 +614,8 @@ class Ledger:
ln_fee_msat=fee_msat,
outputs=outputs,
)
else:
raise Exception("Lightning payment unsuccessful.")
except Exception as e:
raise e