diff --git a/lib/transaction.js b/lib/transaction.js index 1acb350d..adce3086 100644 --- a/lib/transaction.js +++ b/lib/transaction.js @@ -31,7 +31,7 @@ Transaction.prototype._populateInput = function(db, input, poolTransactions, cal return callback(new Error('Input is expected to have prevTxId as a buffer')); } var txid = input.prevTxId.toString('hex'); - db.getTransaction(txid, true, function(err, prevTx) { + db.getTransaction(txid, function(err, prevTx) { if(!prevTx) { // Check the pool for transaction for(var i = 0; i < poolTransactions.length; i++) { diff --git a/regtest/node.js b/regtest/node.js index 20f91caa..a9e09d9e 100644 --- a/regtest/node.js +++ b/regtest/node.js @@ -817,7 +817,7 @@ describe('Node Functionality', function() { it('will not show confirmation count for orphaned transaction', function(done) { // This test verifies that in the situation that the transaction is not in the mempool and // is included in an orphaned block transaction index that the confirmation count will be unconfirmed. - node.getTransactionWithBlockInfo(orphanedTransaction, false, function(err, data) { + node.getTransactionWithBlockInfo(orphanedTransaction, function(err, data) { if (err) { return done(err); }