getTransaction queryMempool
This commit is contained in:
parent
69f51c749b
commit
510f6e8607
|
@ -54,7 +54,7 @@ DB.prototype.putBlock = function(block, callback) {
|
||||||
};
|
};
|
||||||
|
|
||||||
DB.prototype.getTransaction = function(txid, queryMempool, callback) {
|
DB.prototype.getTransaction = function(txid, queryMempool, callback) {
|
||||||
this.bitcoind.getTransaction(txid, function(err, txBuffer) {
|
this.bitcoind.getTransaction(txid, queryMempool, function(err, txBuffer) {
|
||||||
if(err) {
|
if(err) {
|
||||||
return callback(err);
|
return callback(err);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue