This commit is contained in:
jl777
2018-07-31 22:19:01 -11:00
parent 8eef6813ee
commit b13e77bb08

View File

@@ -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;