displaying lnurlpay success_actions.
This commit is contained in:
@@ -34,7 +34,7 @@ class LNPayWallet(Wallet):
|
||||
f"Wallet {data['user_label']} (data['id']) not active, but {data['statusType']['name']}", 0
|
||||
)
|
||||
|
||||
return StatusResponse(None, data["balance"] / 1000)
|
||||
return StatusResponse(None, data["balance"] * 1000)
|
||||
|
||||
def create_invoice(
|
||||
self,
|
||||
|
||||
@@ -29,6 +29,8 @@ class SparkWallet(Wallet):
|
||||
params = args
|
||||
elif kwargs:
|
||||
params = kwargs
|
||||
else:
|
||||
params = {}
|
||||
|
||||
r = httpx.post(self.url + "/rpc", headers={"X-Access": self.token}, json={"method": key, "params": params})
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user