X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fwallet.cpp;h=83cc2748bc06f0c299ef6c56b237b25d897f8307;hb=fd6137e9f2c1d8159a696b1b4680e9cf78a18363;hp=b2b395ba236ed9cfa18e5657c722ecf1bddafb38;hpb=28bc1f989d43837a74982b111844edfbec08b5ee;p=novacoin.git diff --git a/src/wallet.cpp b/src/wallet.cpp index b2b395b..83cc274 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -2221,7 +2221,7 @@ bool CWallet::MergeCoins(const int64_t& nAmount, const int64_t& nMinValue, const if (wtxNew.vout[0].nValue > 0) { int64_t nBytes = ::GetSerializeSize(*(CTransaction*)&wtxNew, SER_NETWORK, PROTOCOL_VERSION) + wtxNew.vin.size() * 110; - double dFinalPriority = dWeight /= nBytes; + double dFinalPriority = dWeight / nBytes; bool fAllowFree = CTransaction::AllowFree(dFinalPriority); // Get actual transaction fee according to its size and priority