This commit is contained in:
blackjok3r
2018-12-06 14:44:34 +08:00
parent a78c87124a
commit 128a02eb9b
2 changed files with 5 additions and 4 deletions

View File

@@ -769,7 +769,7 @@ CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey, int32_t nHeight,
scriptPubKey = CScript() << ParseHex(NOTARY_PUBKEY) << OP_CHECKSIG;
} else
{
if (!isStake && ASSETCHAINS_STAKED != 0)
if (!isStake || ASSETCHAINS_STAKED != 0)
{
if (!reservekey.GetReservedKey(pubkey))
{