X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fwallet.cpp;h=87ffe936f9701a1f62e77b2bf0a366348955dfaf;hb=b68dec11eea9e0b525bd26485c96425e7b1b6025;hp=2ee7dfac3e569f375215a6c417d5c8d3e8a15719;hpb=1d40b6207e7d1591c47cce149aae84bb60dcc416;p=novacoin.git diff --git a/src/wallet.cpp b/src/wallet.cpp index 2ee7dfa..87ffe93 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -1660,7 +1660,7 @@ bool CWallet::CreateTransaction(const vector >& vecSend, CTxDB txdb("r"); { nFeeRet = nTransactionFee; - while (true) + for ( ; ; ) { wtxNew.vin.clear(); wtxNew.vout.clear(); @@ -2048,7 +2048,7 @@ bool CWallet::CreateCoinStake(uint256 &hashTx, uint32_t nOut, uint32_t nGenerati nCredit += GetProofOfStakeReward(nCoinAge, nBits, nGenerationTime); int64_t nMinFee = 0; - while (true) + for ( ; ; ) { // Set output amount if (fDontSplitCoins)