From cf921e72c3e123efa0f59c92c3c47d9bda9a6a8c Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Sun, 30 Jun 2013 19:22:57 +0200 Subject: [PATCH] Fix own list entry if not in top-15 Fixes #292 --- public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl b/public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl index 222902c7..3e8791e3 100644 --- a/public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl +++ b/public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl @@ -24,6 +24,7 @@ {/section} {if $listed != 1} + {math assign="estday" equation="round(reward / ( diff * pow(2,32) / ( hashrate * 1000 ) / 3600 / 24), 3)" diff=$DIFFICULTY reward=$REWARD hashrate=$GLOBAL.userdata.hashrate} n/a {$GLOBAL.userdata.username}