From 2d2f4808884ccf08e5a0285937a9ca27988879b8 Mon Sep 17 00:00:00 2001 From: obigal Date: Wed, 3 Jul 2013 08:59:22 -0400 Subject: [PATCH] Update default.tpl --- public/templates/mmcFE/statistics/blocks/default.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/templates/mmcFE/statistics/blocks/default.tpl b/public/templates/mmcFE/statistics/blocks/default.tpl index 2871cd01..c491a8dd 100644 --- a/public/templates/mmcFE/statistics/blocks/default.tpl +++ b/public/templates/mmcFE/statistics/blocks/default.tpl @@ -12,7 +12,7 @@ Expected {section block $BLOCKSFOUND step=-1} - {round(pow(2,32 - $GLOBAL.config.targetdiff) * $BLOCKSFOUND[block].difficulty)} + {round(65536 * $BLOCKSFOUND[block].difficulty)} {/section} @@ -62,8 +62,8 @@ target and network difficulty and assuming a zero variance scenario. {$BLOCKSFOUND[block].difficulty|number_format:"2"} {$BLOCKSFOUND[block].amount|number_format:"2"} - {math assign="estshares" equation="(pow(2,32 - targetdiff) * blockdiff)" targetdiff=$GLOBAL.config.targetdiff blockdiff=$BLOCKSFOUND[block].difficulty} - {$estshares|number_format} + {math assign="estshares" equation="(65536 * blockdiff)" targetdiff=$GLOBAL.config.targetdiff blockdiff=$BLOCKSFOUND[block].difficulty} + {$estshares} {$BLOCKSFOUND[block].shares|number_format}