Skip to content

Commit 44109c1

Browse files
authored
Merge pull request #204 from jl777/dPoW
DPoW
2 parents 0f98f3f + e69b5ca commit 44109c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/wallet.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2338,7 +2338,7 @@ static void ApproximateBestSubset(vector<pair<CAmount, pair<const CWalletTx*,uns
23382338

23392339
bool CWallet::SelectCoinsMinConf(const CAmount& nTargetValue, int nConfMine, int nConfTheirs, vector<COutput> vCoins,set<pair<const CWalletTx*,unsigned int> >& setCoinsRet, CAmount& nValueRet, uint64_t *interestp) const
23402340
{
2341-
uint64_t interests[8192],lowest_interest = 0; int32_t count = 0;
2341+
uint64_t interests[10000],lowest_interest = 0; int32_t count = 0;
23422342
setCoinsRet.clear();
23432343
memset(interests,0,sizeof(interests));
23442344
nValueRet = 0;
@@ -2448,7 +2448,7 @@ bool CWallet::SelectCoinsMinConf(const CAmount& nTargetValue, int nConfMine, int
24482448
LogPrint("selectcoins", "SelectCoins() best subset: ");
24492449
for (unsigned int i = 0; i < vValue.size(); i++)
24502450
if (vfBest[i])
2451-
LogPrint("selectcoins", "%s + %s, ", FormatMoney(vValue[i].first),FormatMoney(i < count ? interests[i] : 0));
2451+
LogPrint("selectcoins", "%s", FormatMoney(vValue[i].first));
24522452
LogPrint("selectcoins", "total %s\n", FormatMoney(nBest));
24532453
}
24542454

0 commit comments

Comments
 (0)