mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-18 12:27:50 +02:00
fix: result array index access
This commit is contained in:
parent
06e73cf255
commit
99aaba44bf
1 changed files with 4 additions and 5 deletions
|
|
@ -312,13 +312,12 @@ async def warmup_new_connections():
|
|||
_handle(id, SSE.SYSTEM_INFO, res[0]),
|
||||
_handle(id, SSE.BTC_INFO, res[1]),
|
||||
_handle(id, SSE.LN_INFO, res[2]),
|
||||
_handle(id, SSE.LN_FEE_REVENUE, res[4]),
|
||||
_handle(id, SSE.WALLET_BALANCE, res[5]),
|
||||
_handle(id, SSE.INSTALLED_APP_STATUS, res[6]),
|
||||
_handle(id, SSE.HARDWARE_INFO, res[7]),
|
||||
_handle(id, SSE.LN_FEE_REVENUE, res[3]),
|
||||
_handle(id, SSE.WALLET_BALANCE, res[4]),
|
||||
_handle(id, SSE.INSTALLED_APP_STATUS, res[5]),
|
||||
_handle(id, SSE.HARDWARE_INFO, res[6]),
|
||||
]
|
||||
)
|
||||
|
||||
# when its bitcoin only
|
||||
else:
|
||||
res = await get_full_client_warmup_data_bitcoinonly()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue