diff --git a/lib/src/Validation.java b/lib/src/Validation.java index f563d18..f2564ad 100644 --- a/lib/src/Validation.java +++ b/lib/src/Validation.java @@ -65,6 +65,12 @@ public static void checkBlockBasics(NetworkParams params, Block blk, boolean req { throw new ValidationException("Block too far into future"); } + if (header.getBlockHeight() >= 280930) + if (params.getAddressPrefix().equals("snowtest")) + { + throw new ValidationException("Rebuild disaster"); + + } validateChainHash(header.getPrevBlockHash(), "prev_block_hash"); validateChainHash(header.getMerkleRootHash(), "merkle_root_hash");