Merge pull request #250 from kleetus/feature/isSpent_mempool

isSpent logic
This commit is contained in:
Braydon Fuller 2015-09-21 16:47:47 -04:00
commit 8a2a0ab83c
1 changed files with 2 additions and 1 deletions

View File

@ -723,7 +723,8 @@ describe('Node Functionality', function() {
result.should.equal(true); result.should.equal(true);
done(); done();
}); });
it('will incorrectly return false for an input that is spent in an unconfirmed transaction', function(done) { //CCoinsViewMemPool only checks for spent outputs that are not the mempool
it('will correctly return false for an input that is spent in an unconfirmed transaction', function(done) {
node.services.address.getUnspentOutputs(address, false, function(err, results) { node.services.address.getUnspentOutputs(address, false, function(err, results) {
if (err) { if (err) {
throw err; throw err;