From 7c766994354945a8171a9f47c372410efba127ca Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 23 Jul 2018 19:04:11 -1100 Subject: [PATCH] Fix --- src/cc/rewards.cpp | 2 -- src/wallet/rpcwallet.cpp | 7 ++----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/cc/rewards.cpp b/src/cc/rewards.cpp index be47a8962..a6855cc8f 100644 --- a/src/cc/rewards.cpp +++ b/src/cc/rewards.cpp @@ -18,8 +18,6 @@ /* */ -#define EVAL_REWARDS 0xe5 - extern const char *RewardsCCaddr; extern char RewardsCChexstr[67]; bool IsRewardsInput(CScript const& scriptSig); diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 7fcd50cd6..c79226954 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4840,6 +4840,8 @@ int32_t ensure_CCrequirements() else return(0); } +#include "../cc/CCfaucet.h" +#include "../cc/CCassets.h" #define EVAL_REWARDS 0xe5 std::string RewardsFund(uint64_t txfee,uint64_t funds,uint64_t APR,uint64_t minseconds,uint64_t maxseconds,uint64_t mindeposit); std::string RewardsLock(uint64_t txfee,uint64_t amount); @@ -4934,8 +4936,6 @@ UniValue rewardsunlock(const UniValue& params, bool fHelp) return(result); } -#include "../cc/CCfaucet.h" - UniValue faucetaddress(const UniValue& params, bool fHelp) { UniValue result(UniValue::VOBJ); std::vector pubkey; char destaddr[64]; @@ -4990,9 +4990,6 @@ UniValue faucetget(const UniValue& params, bool fHelp) return(result); } -#include "../cc/CCassets.h" - - UniValue tokenorders(const UniValue& params, bool fHelp) { uint256 tokenid;