mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
weiter
This commit is contained in:
parent
4273c658c8
commit
e8abd4ad91
2 changed files with 1 additions and 2 deletions
|
|
@ -124,5 +124,4 @@ func (p *statePrefetcher) Prefetch(block *types.Block, statedb *state.StateDB, c
|
||||||
|
|
||||||
blockPrefetchTxsValidMeter.Mark(int64(len(block.Transactions())) - fails.Load())
|
blockPrefetchTxsValidMeter.Mark(int64(len(block.Transactions())) - fails.Load())
|
||||||
blockPrefetchTxsInvalidMeter.Mark(fails.Load())
|
blockPrefetchTxsInvalidMeter.Mark(fails.Load())
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ func ValidEip(eipNum int) bool {
|
||||||
return ok
|
return ok
|
||||||
}
|
}
|
||||||
func ActivateableEips() []string {
|
func ActivateableEips() []string {
|
||||||
nums []string
|
var nums []string
|
||||||
for k := range activators {
|
for k := range activators {
|
||||||
nums = append(nums, fmt.Sprintf("%d", k))
|
nums = append(nums, fmt.Sprintf("%d", k))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue