Skip to content

Commit 25084dd

Browse files
MonkeyMarcelgballet
authored andcommitted
core: remove unused queued import status (ethereum#31870)
1 parent 697b7c2 commit 25084dd

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

core/blockchain_insert.go

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ import (
2727

2828
// insertStats tracks and reports on block insertion.
2929
type insertStats struct {
30-
queued, processed, ignored int
31-
usedGas uint64
32-
lastIndex int
33-
startTime mclock.AbsTime
30+
processed, ignored int
31+
usedGas uint64
32+
lastIndex int
33+
startTime mclock.AbsTime
3434
}
3535

3636
// statsReportLimit is the time limit during import and export after which we
@@ -78,9 +78,6 @@ func (st *insertStats) report(chain []*types.Block, index int, snapDiffItems, sn
7878
}
7979
context = append(context, []interface{}{"triedirty", triebufNodes}...)
8080

81-
if st.queued > 0 {
82-
context = append(context, []interface{}{"queued", st.queued}...)
83-
}
8481
if st.ignored > 0 {
8582
context = append(context, []interface{}{"ignored", st.ignored}...)
8683
}

0 commit comments

Comments
 (0)