From 385f6db046425e27d2a088f3596151f60c2b5b5d Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 31 Jul 2018 22:13:50 -1100 Subject: [PATCH] Test --- src/cc/dice.cpp | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index d6ede2d52..a91df06b8 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -573,7 +573,15 @@ uint64_t DicePlanFunds(uint64_t &entropyval,uint256 &entropytxid,uint64_t refsbi { if ( GetTransaction(tx.vin[0].prevout.hash,vinTx,hashBlock,false) == 0 || vinTx.vout[1].scriptPubKey != fundingPubKey || tx.vin[0].prevout.n != 0 ) { - fprintf(stderr,"entropy vin[0] != fundingPubKey\n"); + uint8_t *ptr0,*ptr1; int32_t i; + ptr0 = (uint8_t *)tx.vout[1].scriptPubKey.data(); + ptr1 = (uint8_t *)fundingPubKey.data(); + for (i=0; i