fix: send_coins crash when calling CLN RPC

This commit is contained in:
fusion44 2023-05-01 20:49:52 +02:00
parent e290de8933
commit 9f8631c581
No known key found for this signature in database

View file

@ -511,7 +511,7 @@ class LnNodeCLNjRPC(LightningNodeBase):
amt = "all" if input.send_all else input.amount
params = [input.address, input.amount, fee_rate]
params = [input.address, amt, fee_rate]
res = await self._send_request("withdraw", params)
if not "error" in res: