Skip to content

Commit

Permalink
feat: protect the chain from blacklist imediatelly
Browse files Browse the repository at this point in the history
  • Loading branch information
PitTxid committed Dec 12, 2023
1 parent 5dcdc84 commit 7e2e489
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,9 @@ bool ContextualCheckTransaction(
}
}

if (latveriaActive) {
// we can protect the chain imediatelly, there's no different in the nodes if they dont move the coin, but if we active here the upgraded node will be protected imediatelly
// if (latveriaActive) {
{
// if tx input has blacklist tx, reject
if (CheckBlacklistTx(tx)) {
return state.DoS(50, error("ContextualCheckTransaction(): tx blacklist input failed"),
Expand Down

0 comments on commit 7e2e489

Please sign in to comment.