mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 22:58:30 +01:00
Set reward to 0 by default until reward indexing is available
This commit is contained in:
parent
c28f3fd4b6
commit
d8e58ee622
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class BlocksRepository {
|
||||||
startHeight: number | null = null
|
startHeight: number | null = null
|
||||||
): Promise<object[]> {
|
): Promise<object[]> {
|
||||||
const params: any[] = [];
|
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
|
FROM blocks
|
||||||
WHERE pool_id = ?`;
|
WHERE pool_id = ?`;
|
||||||
params.push(poolId);
|
params.push(poolId);
|
||||||
|
|
Loading…
Add table
Reference in a new issue