Fix median timestamp field - Fix reponse format when block is indexed on the fly

This commit is contained in:
nymkappa
2023-02-18 08:42:38 +09:00
parent 8612dd2d73
commit 8f716a1d8c
2 changed files with 8 additions and 2 deletions

View File

@@ -367,6 +367,7 @@ class BlocksRepository {
blocks.*,
hash as id,
UNIX_TIMESTAMP(blocks.blockTimestamp) as blockTimestamp,
UNIX_TIMESTAMP(blocks.median_timestamp) as medianTime,
pools.id as pool_id,
pools.name as pool_name,
pools.link as pool_link,