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

@@ -29,7 +29,7 @@
#include "CCTriggers.h"
#include "CCPayments.h"
#include "CCGateways.h"
#include "CoinbaseGuard.h"
#include "StakeGuard.h"
/*
CCcustom has most of the functions that need to be extended to create a new CC contract.
@@ -227,12 +227,12 @@ struct CCcontract_info *CCinit(struct CCcontract_info *cp, uint8_t evalcode)
cp->evalcode = evalcode;
switch ( evalcode )
{
case EVAL_COINBASEGUARD:
case EVAL_STAKEGUARD:
strcpy(cp->unspendableCCaddr,AssetsCCaddr);
strcpy(cp->normaladdr,AssetsNormaladdr);
strcpy(cp->CChexstr,AssetsCChexstr);
memcpy(cp->CCpriv,AssetsCCpriv,32);
cp->validate = CoinbaseGuardValidate;
cp->validate = StakeGuardValidate;
cp->ismyvin = IsAssetsInput;
break;