Fix mysql syntax error
This commit is contained in:
parent
a4946de028
commit
908635b3dd
@ -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]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user