Change name to Stake Guard

This commit is contained in:
miketout
2018-10-07 19:56:02 -07:00
parent d0cd50740c
commit ca4a5f2692
11 changed files with 41 additions and 30 deletions

View File

@@ -10,7 +10,7 @@
#include "amount.h"
#include "chainparams.h"
#include "cc/CoinbaseGuard.h"
#include "cc/StakeGuard.h"
#include "importcoin.h"
#include "consensus/consensus.h"
#include "consensus/upgrades.h"
@@ -488,7 +488,7 @@ CBlockTemplate* CreateNewBlock(const CScript& _scriptPubKeyIn, int32_t gpucount,
txNew.vout[0].scriptPubKey = scriptPubKeyIn;
txNew.vout[0].nValue = GetBlockSubsidy(nHeight,chainparams.GetConsensus()) + nFees;
// once we get to Sapling, enable CC CoinbaseGuard for stake transactions
// once we get to Sapling, enable CC StakeGuard for stake transactions
if (isStake && extendedStake)
{
// if there is a specific destination, use it