fixing blockhash in round block details
This commit is contained in:
parent
6b40c0898a
commit
5257001153
@ -64,7 +64,7 @@ class RoundStats {
|
|||||||
public function getDetailsForBlockHeight($iHeight=0, $isAdmin=0) {
|
public function getDetailsForBlockHeight($iHeight=0, $isAdmin=0) {
|
||||||
$stmt = $this->mysqli->prepare("
|
$stmt = $this->mysqli->prepare("
|
||||||
SELECT
|
SELECT
|
||||||
b.id, height, amount, confirmations, difficulty, FROM_UNIXTIME(time) as time, shares,
|
b.id, height, blockhash, amount, confirmations, difficulty, FROM_UNIXTIME(time) as time, shares,
|
||||||
IF(a.is_anonymous, IF( ? , a.username, 'anonymous'), a.username) AS finder
|
IF(a.is_anonymous, IF( ? , a.username, 'anonymous'), a.username) AS finder
|
||||||
FROM $this->tableBlocks as b
|
FROM $this->tableBlocks as b
|
||||||
LEFT JOIN $this->tableUsers AS a ON b.account_id = a.id
|
LEFT JOIN $this->tableUsers AS a ON b.account_id = a.id
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user