fix miner LOCK UP

This commit is contained in:
blackjok3r
2019-02-06 19:41:44 +08:00
parent c56e206889
commit 61aa40edf4

View File

@@ -693,6 +693,8 @@ CBlockTemplate* CreateNewBlock(CPubKey _pk,const CScript& _scriptPubKeyIn, int32
if ( totalsats == 0 ) if ( totalsats == 0 )
{ {
fprintf(stderr, "Could not create notary payment, trying again.\n"); fprintf(stderr, "Could not create notary payment, trying again.\n");
LEAVE_CRITICAL_SECTION(cs_main);
LEAVE_CRITICAL_SECTION(mempool.cs);
return(0); return(0);
} }
fprintf(stderr, "Created notary payment coinbase totalsat.%lu\n",totalsats); fprintf(stderr, "Created notary payment coinbase totalsat.%lu\n",totalsats);