Fix median time indexing

This commit is contained in:
nymkappa 2023-02-19 18:38:23 +09:00
parent e2fe39f241
commit 6965c8f41b
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ class BitcoinApi implements AbstractBitcoinApi {
size: block.size,
weight: block.weight,
previousblockhash: block.previousblockhash,
medianTime: block.mediantime,
};
}

View File

@ -34,7 +34,7 @@ class BlocksRepository {
?, ?, ?, ?,
?, ?, ?, ?,
?, ?, ?, ?,
?, ?, ?, ?,
FROM_UNIXTIME(?), ?, ?, ?,
?, ?, ?, ?,
?, ?, ?, ?,
?, ?, ?, ?,