From 2efca535933955c84a93b2ba5612c504627bf59d Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 6 Nov 2018 05:05:10 -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 ea1136e00..4787903c2 100644 --- a/src/cc/CCtx.cpp +++ b/src/cc/CCtx.cpp @@ -367,7 +367,7 @@ int64_t AddNormalinputs(CMutableTransaction &mtx,CPubKey mypk,int64_t total,int3 up->nValue = out.tx->vout[out.i].nValue; up->vout = vout; fprintf(stderr,"add %.8f to vins array.%d of %d\n",(double)up->nValue/COIN,n,maxutxos); - if ( n >= maxinputs ) + if ( n >= maxutxos ) break; } }