From e0bc68e669693b8971dbe6ded4d008a61d0f6eac Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 28 Jun 2018 22:06:12 -1100 Subject: [PATCH] Fix burn of 5000 sats from notary vin --- src/miner.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/miner.cpp b/src/miner.cpp index 257627b47..4b7d09252 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -443,6 +443,8 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn,int32_t gpucount) txNew.vout.resize(1); txNew.vout[0].scriptPubKey = scriptPubKeyIn; txNew.vout[0].nValue = GetBlockSubsidy(nHeight,chainparams.GetConsensus()); + if ( ASSETCHAINS_SYMBOL[0] == 0 && IS_KOMODO_NOTARY != 0 && My_notaryid >= 0 ) + txNew.vout[0].nValue += 5000; txNew.nLockTime = std::max(pindexPrev->GetMedianTimePast()+1, GetAdjustedTime()); txNew.nExpiryHeight = 0; // Add fees