fix
This commit is contained in:
parent
2f93137767
commit
35d1fc3e12
|
@ -242,7 +242,7 @@ Storage.prototype.fetchTx = function(walletId, txProposalId, cb) {
|
|||
|
||||
Storage.prototype.fetchTxByHash = function(hash, cb) {
|
||||
var self = this;
|
||||
if (!this.db) return;
|
||||
if (!this.db) return cb();
|
||||
|
||||
this.db.collection(collections.TXS).findOne({
|
||||
txid: hash,
|
||||
|
|
Loading…
Reference in New Issue