From b36155fbd6140864b515ef9ff30392b00e9a1969 Mon Sep 17 00:00:00 2001 From: ibertario <68381662+ibertario@users.noreply.github.com> Date: Sun, 1 May 2022 18:09:17 +0000 Subject: [PATCH] BTC instead of Sats on Stats For Nerds (#98) * Update views.py * Update BottomBar.js --- api/views.py | 4 ++-- frontend/src/components/BottomBar.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/views.py b/api/views.py index a2e42c12..1b8f8b31 100644 --- a/api/views.py +++ b/api/views.py @@ -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) \ No newline at end of file + return Response(payload, status.HTTP_200_OK) diff --git a/frontend/src/components/BottomBar.js b/frontend/src/components/BottomBar.js index 8ec8a561..25b568e3 100644 --- a/frontend/src/components/BottomBar.js +++ b/frontend/src/components/BottomBar.js @@ -142,7 +142,7 @@ class BottomBar extends Component { - +