mirror of
https://github.com/RoboSats/robosats.git
synced 2024-09-11 14:05:51 +03:00
BTC instead of Sats on Stats For Nerds (#98)
* Update views.py * Update BottomBar.js
This commit is contained in:
parent
7af3b13050
commit
b36155fbd6
@ -744,7 +744,7 @@ class InfoView(ListAPIView):
|
||||
lifetime_volume = 0
|
||||
|
||||
context["last_day_nonkyc_btc_premium"] = round(avg_premium, 2)
|
||||
context["last_day_volume"] = total_volume *100000000
|
||||
context["last_day_volume"] = total_volume
|
||||
context["lifetime_volume"] = lifetime_volume
|
||||
context["lnd_version"] = get_lnd_version()
|
||||
context["robosats_running_commit_hash"] = get_commit_robosats()
|
||||
@ -844,4 +844,4 @@ class LimitView(ListAPIView):
|
||||
'max_bondless_amount': max_bondless_trade * exchange_rate,
|
||||
}
|
||||
|
||||
return Response(payload, status.HTTP_200_OK)
|
||||
return Response(payload, status.HTTP_200_OK)
|
||||
|
@ -142,7 +142,7 @@ class BottomBar extends Component {
|
||||
<Divider/>
|
||||
<ListItem>
|
||||
<ListItemIcon><EqualizerIcon/></ListItemIcon>
|
||||
<ListItemText primary={pn(this.state.last_day_volume)+" Sats"} secondary={t("24h contracted volume")}/>
|
||||
<ListItemText primary={pn(this.state.last_day_volume)+" BTC"} secondary={t("24h contracted volume")}/>
|
||||
</ListItem>
|
||||
|
||||
<Divider/>
|
||||
|
Loading…
Reference in New Issue
Block a user