Compile fixes

This commit is contained in:
Duke Leto
2019-12-12 06:42:33 -05:00
parent f2081ca3a0
commit ff803add6e
3 changed files with 2 additions and 10 deletions

View File

@@ -4090,7 +4090,7 @@ bool static DisconnectTip(CValidationState &state, bool fBare = false) {
{
CTransaction &tx = block.vtx[i];
//if ((i == (block.vtx.size() - 1)) && ((ASSETCHAINS_LWMAPOS && block.IsVerusPOSBlock()) || (ASSETCHAINS_STAKED != 0 && (komodo_isPoS((CBlock *)&block) != 0))))
if ( komodo_newStakerActive(0, pindexDelete->nTime) == 0 && i == block.vtx.size()-1 && komodo_isPoS((CBlock *)&block,pindexDelete->GetHeight(),0) != 0 )
if (0) // komodo_newStakerActive(0, pindexDelete->nTime) == 0 && i == block.vtx.size()-1 && komodo_isPoS((CBlock *)&block,pindexDelete->GetHeight(),0) != 0 )
{
#ifdef ENABLE_WALLET
// new staking tx cannot be accepted to mempool and expires in 1 block, so no need for this! :D