diff --git a/src/cc/cclib.cpp b/src/cc/cclib.cpp index c8e714ba2..65c706862 100644 --- a/src/cc/cclib.cpp +++ b/src/cc/cclib.cpp @@ -48,6 +48,10 @@ std::string MYCCLIBNAME = (char *)"rogue"; std::string MYCCLIBNAME = (char *)"sudoku"; #endif +#ifndef BUILD_GAMESCC +void komodo_netevent(std::vector payload) {} +#endif + char *CClib_name() { return((char *)MYCCLIBNAME.c_str()); } struct CClib_rpcinfo diff --git a/src/cc/gamescc.cpp b/src/cc/gamescc.cpp index 68de4bb8a..29df990b5 100644 --- a/src/cc/gamescc.cpp +++ b/src/cc/gamescc.cpp @@ -178,6 +178,14 @@ UniValue games_register(uint64_t txfee,struct CCcontract_info *cp,cJSON *params) return(result); } +void komodo_netevent(std::vector payload) +{ + int32_t i; + for (i=0; i payload); #endif diff --git a/src/main.cpp b/src/main.cpp index 5027e5fa6..e520ad83f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7045,9 +7045,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, } std::vector payload; vRecv >> payload; - for (i=0; i