From 4241cfb59511fa192d583ea0dc0b87f88d0ec1d9 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Sun, 24 Dec 2017 17:24:40 -0800 Subject: [PATCH 1/2] Render interest correctly instead of negative fees --- public/views/transaction/tx.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/public/views/transaction/tx.html b/public/views/transaction/tx.html index b91ce9ee..87b96963 100644 --- a/public/views/transaction/tx.html +++ b/public/views/transaction/tx.html @@ -347,10 +347,17 @@
+
- Fee: {{$root.currency.getConvertion(tx.fees)}}
+ +
+ Interest: {{$root.currency.getConvertion(-1*tx.fees)}} +
+
{{tx.confirmations}} Confirmations From 84354be33cddc076d89711916c6d6412239cb224 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Sun, 24 Dec 2017 17:26:35 -0800 Subject: [PATCH 2/2] Consider the case fee=0 as a fee, since interest would make it positive --- public/views/transaction/tx.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/views/transaction/tx.html b/public/views/transaction/tx.html index 87b96963..3ec3bc00 100644 --- a/public/views/transaction/tx.html +++ b/public/views/transaction/tx.html @@ -349,7 +349,7 @@
- Fee: {{$root.currency.getConvertion(tx.fees)}}