Browse Source

Compile fix

pull/51/head
Duke Leto 5 years ago
parent
commit
b5197addcd
  1. 2
      src/test-komodo/testutils.cpp

2
src/test-komodo/testutils.cpp

@ -76,7 +76,7 @@ void generateBlock(CBlock *block)
SetMockTime(nMockTime+=100); // CreateNewBlock can fail if not enough time passes
try {
UniValue out = generate(params, false);
UniValue out = generate(params, false, CPubKey());
blockId.SetHex(out[0].getValStr());
if (block) ASSERT_TRUE(ReadBlockFromDisk(*block, mapBlockIndex[blockId], false));
} catch (const UniValue& e) {

Loading…
Cancel
Save