mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-27 01:01:02 +02:00
fix: object is not subscriable
This commit is contained in:
parent
1a9cd81ee9
commit
15c257fd65
@ -44,7 +44,7 @@ async def call_webhook(charge: Charges):
|
||||
|
||||
async def fetch_onchain_balance(charge: Charges):
|
||||
endpoint = (
|
||||
f"{charge.config['mempool_endpoint']}/testnet"
|
||||
f"{charge.config.mempool_endpoint}/testnet"
|
||||
if charge.config.network == "Testnet"
|
||||
else charge.config.mempool_endpoint
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user