mirror of
https://github.com/mempool/mempool.git
synced 2025-09-20 01:12:42 +02:00
Set reward to 0 by default until reward indexing is available
This commit is contained in:
@@ -172,7 +172,7 @@ class BlocksRepository {
|
||||
startHeight: number | null = null
|
||||
): Promise<object[]> {
|
||||
const params: any[] = [];
|
||||
let query = `SELECT height, hash, tx_count, size, weight, pool_id, UNIX_TIMESTAMP(blockTimestamp) as timestamp, reward
|
||||
let query = `SELECT height, hash, tx_count, size, weight, pool_id, UNIX_TIMESTAMP(blockTimestamp) as timestamp, 0 as reward
|
||||
FROM blocks
|
||||
WHERE pool_id = ?`;
|
||||
params.push(poolId);
|
||||
|
Reference in New Issue
Block a user