Browse Source

Declare notarized_height; Hush does not have a key_io.h

pull/132/head
Duke Leto 6 years ago
parent
commit
caed8fc493
  1. 2
      src/komodo_validation015.h
  2. 2
      src/main.cpp

2
src/komodo_validation015.h

@ -54,7 +54,7 @@
}*/
#include <wallet/wallet.h>
#include <key_io.h>
#include <key.h>
#include <base58.h>
#define SATOSHIDEN ((uint64_t)100000000L)

2
src/main.cpp

@ -3333,6 +3333,8 @@ bool ContextualCheckBlockHeader(const CBlockHeader& block, CValidationState& sta
const CChainParams& chainParams = Params();
const Consensus::Params& consensusParams = chainParams.GetConsensus();
uint256 hash = block.GetHash();
int32_t notarized_height;
if (hash == consensusParams.hashGenesisBlock)
return true;

Loading…
Cancel
Save