diff --git a/src/miner.cpp b/src/miner.cpp index 9a70fc113..0aede35bb 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -535,7 +535,7 @@ CBlockTemplate* CreateNewBlock(CPubKey _pk,const CScript& _scriptPubKeyIn, int32 fprintf(stderr, "Block Arrived, reset staking loop.\n"); return(0); } - if( !GetBoolArg("-gen",false ) + if( !GetBoolArg("-gen",false) ) return(0); } }