mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 02:21:35 +00:00
Bump LND, fix BalanceLogs not found on new coordinator instance
This commit is contained in:
parent
3c55a14b45
commit
4adde72fd5
@ -934,9 +934,12 @@ class InfoView(ListAPIView):
|
|||||||
)
|
)
|
||||||
context["bond_size"] = float(config("DEFAULT_BOND_SIZE"))
|
context["bond_size"] = float(config("DEFAULT_BOND_SIZE"))
|
||||||
|
|
||||||
context["current_swap_fee_rate"] = Logics.compute_swap_fee_rate(
|
try:
|
||||||
BalanceLog.objects.latest("time")
|
context["current_swap_fee_rate"] = Logics.compute_swap_fee_rate(
|
||||||
)
|
BalanceLog.objects.latest("time")
|
||||||
|
)
|
||||||
|
except BalanceLog.DoesNotExist:
|
||||||
|
context["current_swap_fee_rate"] = 0
|
||||||
|
|
||||||
return Response(context, status.HTTP_200_OK)
|
return Response(context, status.HTTP_200_OK)
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM lightninglabs/lnd:v0.16.0-beta
|
FROM lightninglabs/lnd:v0.16.1-beta
|
||||||
|
|
||||||
ARG LOCAL_USER_ID=9999
|
ARG LOCAL_USER_ID=9999
|
||||||
ARG LOCAL_GROUP_ID=9999
|
ARG LOCAL_GROUP_ID=9999
|
||||||
|
Loading…
Reference in New Issue
Block a user