resolving conflict errors

This commit is contained in:
ben
2022-11-28 15:23:49 +02:00
committed by Vlad Stan
parent 16183a0317
commit 1d01ed861b
3 changed files with 8 additions and 16 deletions
+3
View File
@@ -27,6 +27,9 @@ async def create_charge(user: str, data: CreateCharge) -> Charges:
onchainaddress = onchain.address
else:
onchainaddress = None
data.extra = json.dumps(
{"mempool_endpoint": "https://mempool.space", "network": "Mainnet"}
)
if data.lnbitswallet:
payment_hash, payment_request = await create_invoice(
wallet_id=data.lnbitswallet,