From dc20e94885256617675edab4f71f828ff23c47ed Mon Sep 17 00:00:00 2001 From: yukang Date: Sun, 25 Aug 2024 11:49:15 +0800 Subject: [PATCH] Make sure the uncle block timestamp is different from the next block timestamp in main fork --- test/src/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/node.rs b/test/src/node.rs index cb592154ca..c26c233983 100644 --- a/test/src/node.rs +++ b/test/src/node.rs @@ -361,7 +361,7 @@ impl Node { let timestamp = block.timestamp(); let uncle = block .as_advanced_builder() - .timestamp((timestamp + 1).pack()) + .timestamp((timestamp - 1).pack()) .build(); (block, uncle) }