From b13e77bb0833ab6abe9fc63d8ddf4c927accb73e Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 31 Jul 2018 22:19:01 -1100 Subject: [PATCH] Test --- src/cc/dice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index e7ab4153e..0ad1c1578 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -571,7 +571,7 @@ uint64_t DicePlanFunds(uint64_t &entropyval,uint256 &entropytxid,uint64_t refsbi { if ( funcid == 'E' ) { - if ( tx.vin[0].prevout.n != 0 || GetTransaction(tx.vin[0].prevout.hash,vinTx,hashBlock,false) == 0 || vinTx.size() < 2 ) + if ( tx.vin[0].prevout.n != 0 || GetTransaction(tx.vin[0].prevout.hash,vinTx,hashBlock,false) == 0 || vinTx.vout.size() < 2 ) { fprintf(stderr,"cant find entropy tx or vin0prev %d\n",tx.vin[0].prevout.n); continue;