Clean up POS checks

This commit is contained in:
miketout
2018-10-12 01:12:08 -07:00
parent a8d2188651
commit 8c3a9bc7ae
4 changed files with 23 additions and 34 deletions

View File

@@ -3724,7 +3724,7 @@ bool static DisconnectTip(CValidationState &state, bool fBare = false) {
ASSETCHAINS_LWMAPOS && (i == (block.vtx.size() - 1)) &&
(block.IsVerusPOSBlock()))
{
CTxHolder txh(block.vtx[i], pindexDelete->GetHeight());
CTxHolder txh = CTxHolder(block.vtx[i], pindexDelete->GetHeight());
cheatList.Add(txh);
}
}