diff --git a/lib/postgresql_interface.js b/lib/postgresql_interface.js index 10e1b253..b3bec237 100644 --- a/lib/postgresql_interface.js +++ b/lib/postgresql_interface.js @@ -56,7 +56,7 @@ PostgresqlInterface.prototype.completeTransaction = PostgresqlInterface.prototype._fetchTransaction = function _fetchTransaction(txId, cb) { - this.client.query('SELECT status, txHash FROM transaction WHERE id=$1', + this.client.query('SELECT status, txHash FROM transactions WHERE id=$1', [txId], function (err, rows) { if (err) return cb(err);