Skip to content

Commit

Permalink
Compile fix [hot]
Browse files Browse the repository at this point in the history
  • Loading branch information
kallewoof committed Jul 24, 2017
1 parent ddb23a0 commit 67bfffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/mining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ UniValue getnewblockhex(const JSONRPCRequest& request)
+ HelpExampleCli("getnewblockhex", "")
);

std::unique_ptr<CBlockTemplate> pblocktemplate(BlockAssembler(Params()).CreateNewBlock(Params().Consensus().CoinbaseDestination());
std::unique_ptr<CBlockTemplate> pblocktemplate(BlockAssembler(Params()).CreateNewBlock(Params().CoinbaseDestination()));
if (!pblocktemplate.get())
throw JSONRPCError(RPC_INTERNAL_ERROR, "Wallet keypool empty");
{
Expand Down

0 comments on commit 67bfffd

Please sign in to comment.