Browse Source

Fix some more compiler errors

pull/132/head
Duke Leto 6 years ago
parent
commit
09158e0710
  1. 4
      src/komodo_validation015.h
  2. 1
      src/main.h

4
src/komodo_validation015.h

@ -762,9 +762,9 @@ void komodo_importpubkeys()
int32_t komodo_init()
{
NOTARY_PUBKEY = gArgs.GetArg("-pubkey", "");
NOTARY_PUBKEY = GetArg("-pubkey", "");
decode_hex(NOTARY_PUBKEY33,33,(char *)NOTARY_PUBKEY.c_str());
if ( gArgs.GetBoolArg("-txindex", DEFAULT_TXINDEX) == 0 )
if ( GetBoolArg("-txindex", DEFAULT_TXINDEX) == 0 )
{
fprintf(stderr,"txindex is off, import notary pubkeys\n");
KOMODO_NEEDPUBKEYS = 1;

1
src/main.h

@ -95,6 +95,7 @@ static const unsigned int DATABASE_FLUSH_INTERVAL = 24 * 60 * 60;
/** Maximum length of reject messages. */
static const unsigned int MAX_REJECT_MESSAGE_LENGTH = 111;
static const bool DEFAULT_TXINDEX = false;
static const bool DEFAULT_ADDRESSINDEX = false;
static const bool DEFAULT_TIMESTAMPINDEX = false;
static const bool DEFAULT_SPENTINDEX = false;

Loading…
Cancel
Save