Increase transaction compatibility support for transactions
@@ -421,7 +421,7 @@ public class ChainContainer implements Cloneable {
BlockLog.debug("There is a wrong red punish tx!" + block.getHeader().getHash());
return false;
}
- if(redTx.getTime() != block.getHeader().getTime()){
+ if (NulsContext.MAIN_NET_VERSION > 1 && redTx.getTime() != block.getHeader().getTime()) {
BlockLog.debug("red punish CoinData & TX time is wrong! " + block.getHeader().getHash());
return false;
}
