From b5197addcda23a8bc6e0eef3be5b110363fcf941 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Thu, 12 Dec 2019 23:30:38 -0500 Subject: [PATCH] Compile fix --- src/test-komodo/testutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test-komodo/testutils.cpp b/src/test-komodo/testutils.cpp index a4aca37cf..c17de8bb1 100644 --- a/src/test-komodo/testutils.cpp +++ b/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) {