Browse Source

Fix cs_main and chainActive errors

pull/132/head
Duke Leto 6 years ago
parent
commit
d8693c4cc1
  1. 1
      src/komodo_rpcblockchain.h
  2. 7
      src/main.cpp

1
src/komodo_rpcblockchain.h

@ -16,6 +16,7 @@
#ifndef komodo_rpcblockchain_h
#define komodo_rpcblockchain_h
#include "main.h"
int32_t komodo_MoMdata(int32_t *notarized_htp,uint256 *MoMp,uint256 *kmdtxidp,int32_t height,uint256 *MoMoMp,int32_t *MoMoMoffsetp,int32_t *MoMoMdepthp,int32_t *kmdstartip,int32_t *kmdendip);
uint256 komodo_calcMoM(int32_t height,int32_t MoMdepth);

7
src/main.cpp

@ -4,7 +4,6 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "sodium.h"
@ -48,9 +47,6 @@ using namespace std;
#endif
char ASSETCHAINS_SYMBOL[65] = { "HUSH" };
#include "komodo_validation015.h"
/**
* Global state
*/
@ -215,6 +211,9 @@ namespace {
set<int> setDirtyFileInfo;
} // anon namespace
char ASSETCHAINS_SYMBOL[65] = { "HUSH" };
#include "komodo_validation015.h"
//////////////////////////////////////////////////////////////////////////////
//
// Registration of network node signals.

Loading…
Cancel
Save