From a35b45d1d7fd95480417be6726454c9e9326e7da Mon Sep 17 00:00:00 2001 From: jsvisa Date: Mon, 21 Jul 2025 17:30:33 +0800 Subject: [PATCH] no min Signed-off-by: jsvisa --- triedb/pathdb/history_index_block.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/triedb/pathdb/history_index_block.go b/triedb/pathdb/history_index_block.go index 91ef71ec25..dab2b560a2 100644 --- a/triedb/pathdb/history_index_block.go +++ b/triedb/pathdb/history_index_block.go @@ -272,11 +272,6 @@ func (b *blockWriter) append(id uint64) error { b.data = binary.AppendUvarint(b.data, id-b.desc.max) } b.desc.entries++ - - // The state history ID must be greater than 0. - //if b.desc.min == 0 { - // b.desc.min = id - //} b.desc.max = id return nil }