From 51e6ed6110e612d02698a855b0b1b2027e2c5538 Mon Sep 17 00:00:00 2001 From: Eirik Ogilvie-Wigley Date: Fri, 28 Sep 2018 12:16:05 -0600 Subject: [PATCH] Move FIXME comment to where the fix should happen --- src/coins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coins.cpp b/src/coins.cpp index edc4d2e20..31f2dbab0 100644 --- a/src/coins.cpp +++ b/src/coins.cpp @@ -620,12 +620,12 @@ double CCoinsViewCache::GetPriority(const CTransaction &tx, int nHeight) const // cannot apply the priority algorithm used for transparent utxos. Instead, we just // use the maximum priority for all (partially or fully) shielded transactions. // (Note that coinbase transactions cannot contain JoinSplits, or Sapling shielded Spends or Outputs.) - // FIXME: this logic is partially duplicated between here and CreateNewBlock in miner.cpp. if (tx.vjoinsplit.size() > 0 || tx.vShieldedSpend.size() > 0 || tx.vShieldedOutput.size() > 0) { return MAX_PRIORITY; } + // FIXME: this logic is partially duplicated between here and CreateNewBlock in miner.cpp. double dResult = 0.0; BOOST_FOREACH(const CTxIn& txin, tx.vin) {