git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
28bc1f9
)
Fix analyzer noise
author
svost
<ya.nowa@yandex.ru>
Sun, 26 Dec 2021 12:40:00 +0000 (15:40 +0300)
committer
svost
<ya.nowa@yandex.ru>
Sun, 26 Dec 2021 12:40:00 +0000 (15:40 +0300)
src/wallet.cpp
patch
|
blob
|
history
diff --git
a/src/wallet.cpp
b/src/wallet.cpp
index
b2b395b
..
83cc274
100644
(file)
--- 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