mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 10:34:20 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user