Remove unescessary data from the blocks-bulk API

This commit is contained in:
nymkappa
2023-02-18 08:28:59 +09:00
parent 73f76474dd
commit 8612dd2d73
2 changed files with 10 additions and 1 deletions

View File

@@ -384,6 +384,7 @@ class BlocksRepository {
}
rows[0].fee_span = JSON.parse(rows[0].fee_span);
rows[0].fee_percentiles = JSON.parse(rows[0].fee_percentiles);
return rows[0];
} catch (e) {
logger.err(`Cannot get indexed block ${height}. Reason: ` + (e instanceof Error ? e.message : e));