From 2fcf7a420c172ff0f538b03b8c73c083562919bd Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 24 Jul 2018 07:15:29 -1100 Subject: [PATCH] Fix --- src/cc/CCcustom.cpp | 1 + src/cc/CCdice.h | 4 ++-- src/cc/eval.h | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/cc/CCcustom.cpp b/src/cc/CCcustom.cpp index f4642c82e..c0254d0b1 100644 --- a/src/cc/CCcustom.cpp +++ b/src/cc/CCcustom.cpp @@ -17,6 +17,7 @@ #include "CCassets.h" #include "CCfaucet.h" #include "CCrewards.h" +#include "CCdice.h" /* CCcustom has most of the functions that need to be extended to create a new CC contract. diff --git a/src/cc/CCdice.h b/src/cc/CCdice.h index 582a9fe64..77f7d5dd9 100644 --- a/src/cc/CCdice.h +++ b/src/cc/CCdice.h @@ -14,8 +14,8 @@ ******************************************************************************/ -#ifndef CC_REWARDS_H -#define CC_REWARDS_H +#ifndef CC_DICE_H +#define CC_DICE_H #include "CCinclude.h" diff --git a/src/cc/eval.h b/src/cc/eval.h index e35bd053a..0ce5b6bf7 100644 --- a/src/cc/eval.h +++ b/src/cc/eval.h @@ -41,7 +41,8 @@ EVAL(EVAL_IMPORTCOIN, 0xe2) \ EVAL(EVAL_ASSETS, 0xe3) \ EVAL(EVAL_FAUCET, 0xe4) \ - EVAL(EVAL_REWARDS, 0xe5) + EVAL(EVAL_REWARDS, 0xe5) \ + EVAL(EVAL_DICE, 0xe6) typedef uint8_t EvalCode;