Fix table name
This commit is contained in:
parent
a6687964ba
commit
f90ded6144
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ PostgresqlInterface.prototype.completeTransaction =
|
||||||
|
|
||||||
PostgresqlInterface.prototype._fetchTransaction =
|
PostgresqlInterface.prototype._fetchTransaction =
|
||||||
function _fetchTransaction(txId, cb) {
|
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) {
|
[txId], function (err, rows) {
|
||||||
if (err) return cb(err);
|
if (err) return cb(err);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue