Skip to content

Commit d9d7a06

Browse files
committed
Do not use the same timestamp with the parent block
1 parent 8618677 commit d9d7a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/header.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ impl Header {
267267

268268
header.set_parent_hash(self.hash());
269269
header.set_number(self.number() + 1);
270-
header.set_timestamp_now(self.timestamp());
270+
header.set_timestamp_now(self.timestamp() + 1);
271271
header.note_dirty();
272272

273273
header

0 commit comments

Comments
 (0)