This commit is contained in:
Matias Alejo Garcia 2017-12-26 16:03:36 -03:00
parent 2f93137767
commit 35d1fc3e12
No known key found for this signature in database
GPG Key ID: 02470DB551277AB3
1 changed files with 1 additions and 1 deletions

View File

@ -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,