fix mempool.

This commit is contained in:
Christopher Jeffrey 2016-06-12 10:26:18 -07:00
parent becbba4aba
commit 6053497c0c
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -764,7 +764,7 @@ Mempool.prototype.addTX = function addTX(tx, callback, force) {
0));
}
self.chain.db.isUnspentTX(hash, function(err, exists) {
self.chain.db.hasCoins(hash, function(err, exists) {
if (err)
return callback(err);
@ -1562,7 +1562,7 @@ Mempool.prototype.getConfidence = function getConfidence(hash, callback) {
});
}
return self.chain.db.isUnspentTX(hash, function(err, existing) {
return self.chain.db.hasCoins(hash, function(err, existing) {
if (err)
return callback(err);