fix mempool.
This commit is contained in:
parent
becbba4aba
commit
6053497c0c
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user