mirror of
https://git.hush.is/hush/hush3.git
synced 2025-09-24 00:04:19 -04:00
Compile fix
This commit is contained in:
parent
82a21aacc0
commit
b5197addcd
@ -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…
x
Reference in New Issue
Block a user