fix(lndrest): use boolean for allow_self_payment instead of integer (#3700)

This commit is contained in:
PatMulligan
2026-01-08 09:54:05 +01:00
committed by GitHub
parent 24e28911ab
commit 0e21b77b74
+1 -1
View File
@@ -178,7 +178,7 @@ class LndRestWallet(Wallet):
"no_inflight_updates": True,
}
if settings.lnd_rest_allow_self_payment:
req["allow_self_payment"] = 1
req["allow_self_payment"] = True
try:
r = await self.client.post(