From f3b0a3885aa155745ccd8b3565d18aeef31998f9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 23 Jul 2018 02:49:17 -1100 Subject: [PATCH] Test --- src/cc/faucet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/faucet.cpp b/src/cc/faucet.cpp index 13efe1e47..68daa5aa3 100644 --- a/src/cc/faucet.cpp +++ b/src/cc/faucet.cpp @@ -99,12 +99,12 @@ bool FaucetValidate(Eval* eval,const CTransaction &tx) else { preventCCvouts = 1; - if ( (assetoshis= IsFaucetvout(tx,0)) != 0 ) + if ( IsFaucetvout(tx,0) != 0 ) { preventCCvouts++; i = 1; } else i = 0; - if ( tx.vin[i].nValue != COIN ) + if ( tx.vout[i].nValue != COIN ) return(false); return(PreventCC(eval,tx,preventCCvins,numvins,preventCCvouts,numvouts)); }