From 48b76054f61cff7b7d74573b9048687f677e4bb1 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Tue, 25 Jul 2017 20:41:03 +0200 Subject: [PATCH] pool: show ttf at current coin speed, if mined (yiimp mode) --- web/yaamp/modules/site/results/mining_results.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/web/yaamp/modules/site/results/mining_results.php b/web/yaamp/modules/site/results/mining_results.php index c347603..ee39635 100644 --- a/web/yaamp/modules/site/results/mining_results.php +++ b/web/yaamp/modules/site/results/mining_results.php @@ -167,10 +167,12 @@ foreach($list as $coin) else echo "$height"; - if(!empty($real_ttf)) - echo "$pool_ttf"; + if(!YAAMP_ALLOW_EXCHANGE && !empty($real_ttf)) + echo ''.$real_ttf.''; + elseif(!empty($real_ttf)) + echo ''.$pool_ttf.''; else - echo "$pool_ttf"; + echo ''.$pool_ttf.''; if($coin->auxpow && $coin->auto_ready) echo "$pool_hash_pow_sfx";