Fix median time indexing

This commit is contained in:
nymkappa committed 2023-02-25 14:22:14 +09:00
1 parent e2fe39f241
commit 6965c8f41b
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ class BitcoinApi implements AbstractBitcoinApi {
size: block.size,
weight: block.weight,
previousblockhash: block.previousblockhash,
medianTime: block.mediantime,
};
}
+1 -1
View File
@@ -34,7 +34,7 @@ class BlocksRepository {
?, ?, ?, ?,
?, ?, ?, ?,
?, ?, ?, ?,
?, ?, ?, ?,
FROM_UNIXTIME(?), ?, ?, ?,
?, ?, ?, ?,
?, ?, ?, ?,
?, ?, ?, ?,