diff --git a/src/miner.cpp b/src/miner.cpp index bde9babd5..9289a9f63 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -207,6 +207,8 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) dPriority += (double)nValueIn * nConf; } + nTotalIn += tx.GetJoinSplitValueIn(); + if (fMissingInputs) continue; // Priority is sum(valuein * age) / modified_txsize