Fix table name

This commit is contained in:
Maciej Małecki 2014-04-16 15:07:10 +02:00
parent a6687964ba
commit f90ded6144

View file

@ -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);