fix(lndrest): use boolean for allow_self_payment instead of integer (#3700)
This commit is contained in:
@@ -178,7 +178,7 @@ class LndRestWallet(Wallet):
|
|||||||
"no_inflight_updates": True,
|
"no_inflight_updates": True,
|
||||||
}
|
}
|
||||||
if settings.lnd_rest_allow_self_payment:
|
if settings.lnd_rest_allow_self_payment:
|
||||||
req["allow_self_payment"] = 1
|
req["allow_self_payment"] = True
|
||||||
|
|
||||||
try:
|
try:
|
||||||
r = await self.client.post(
|
r = await self.client.post(
|
||||||
|
|||||||
Reference in New Issue
Block a user