Skip to content

Commit

Permalink
Fix -powblockfoundnotify
Browse files Browse the repository at this point in the history
  • Loading branch information
Tranz5 committed May 28, 2014
1 parent 6c77880 commit 1da0e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ bool CheckWork(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey)
std::string strCmd = GetArg("-powblockfoundnotify", "");
if (!strCmd.empty())
{
boost::replace_all(strCmd, "%s", hashBlock.GetHex());
boost::replace_all(strCmd, "%s", hashblock.GetHex());
boost::thread t(runCommand, strCmd); // thread runs free
}
}
Expand Down

0 comments on commit 1da0e1c

Please sign in to comment.