Fix mysql syntax error
This commit is contained in:
1 parent
b09cb3d228
commit
f36b24e11e
1 file changed
+1
-1
@@ -363,7 +363,7 @@ class BlocksRepository {
|
||||
previous_block_hash as previousblockhash
|
||||
FROM blocks
|
||||
JOIN pools ON blocks.pool_id = pools.id
|
||||
WHERE hash = '?';
|
||||
WHERE hash = ?;
|
||||
`;
|
||||
const [rows]: any[] = await DB.query(query, [hash]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user