From 0065510fc21ec93f51b8b6e0ed2fb8829b47451d Mon Sep 17 00:00:00 2001
From: jeje0106 <34496869+jeje0106@users.noreply.github.com>
Date: Wed, 16 Aug 2023 20:36:32 +0200
Subject: [PATCH] Update rewards.hbs
personal luck calc.
---
www/app/templates/account/rewards.hbs | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/www/app/templates/account/rewards.hbs b/www/app/templates/account/rewards.hbs
index f78dfc7..0841923 100644
--- a/www/app/templates/account/rewards.hbs
+++ b/www/app/templates/account/rewards.hbs
@@ -7,6 +7,7 @@
Time |
Blocks |
Amount |
+ Luck |
USD |
@@ -17,10 +18,11 @@
{{sumreward.name}} |
{{sumreward.blocks}} |
{{format-balance sumreward.reward}} |
+ {{format-number sumreward.personalLuck style='percent'}} |
{{#if (eq config.Currency 'USD') }}
- {{format-ethusd sumreward.reward model.exchangedata.current_price}}
+ {{format-ethusd sumreward.reward model.exchangedata.price_usd}}
{{else}}
{{format-ethinr sumreward.reward model.exchangedata.price_inr}}
{{/if}}
@@ -37,7 +39,7 @@
| Block Height |
Time Found |
Reward |
- Round Share |
+ Personal Luck |
@@ -53,7 +55,7 @@
{{format-balance tx.reward}}
{{/if}}
|
- {{format-number tx.percent style='percent' maximumFractionDigits='2'}} |
+ {{format-number tx.personalLuck style='percent' maximumFractionDigits='2'}} |
{{/each}}
@@ -61,4 +63,4 @@
{{else}}
No rewards yet
{{/if}}
-
\ No newline at end of file
+