This commit is contained in:
jl777
2019-07-10 03:50:45 -11:00
parent 95dcb9cd32
commit ee2ec52317
2 changed files with 2 additions and 1 deletions

View File

@@ -528,7 +528,7 @@ int64_t AddNormalinputs(CMutableTransaction &mtx,CPubKey mypk,int64_t total,int3
const CKeyStore& keystore = *pwalletMain;
LOCK2(cs_main, pwalletMain->cs_wallet);
pwalletMain->AvailableCoins(vecOutputs, false, NULL, true);
utxos = (struct CC_utxo *)calloc(CC_MAXVINS,sizeof(*utxos));
utxos = (struct CC_utxosinfo *)calloc(CC_MAXVINS,sizeof(*utxos));
if ( maxinputs > CC_MAXVINS )
maxinputs = CC_MAXVINS;
if ( maxinputs > 0 )