From 4bbe39bcbed730873648bffdea7ace3afb5b041e Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 27 Jul 2018 08:51:59 -1100 Subject: [PATCH] Test --- src/cc/CCtx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/CCtx.cpp b/src/cc/CCtx.cpp index acf47ec9f..0145133fd 100644 --- a/src/cc/CCtx.cpp +++ b/src/cc/CCtx.cpp @@ -67,10 +67,10 @@ std::string FinalizeCCTx(uint64_t CCmask,struct CCcontract_info *cp,CMutableTran { utxovout = mtx.vin[i].prevout.n; utxovalues[i] = vintx.vout[utxovout].nValue; - totalinputs += utxovalues[i]; if ( vintx.vout[utxovout].scriptPubKey.IsPayToCryptoCondition() == 0 ) { //fprintf(stderr,"vin.%d is normal %.8f\n",i,(double)utxovalues[i]/COIN); + totalinputs += utxovalues[i]; vinimask |= (1LL << i); } else