From 325fc8351edf7ec75f35be009789985653357be4 Mon Sep 17 00:00:00 2001 From: philip-morlier Date: Tue, 24 Oct 2023 09:24:39 -0700 Subject: [PATCH] Removed comments in core/forkid/plugin_hooks --- core/forkid/plugin_hooks.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/core/forkid/plugin_hooks.go b/core/forkid/plugin_hooks.go index b9102c9b8..a95ee0911 100644 --- a/core/forkid/plugin_hooks.go +++ b/core/forkid/plugin_hooks.go @@ -14,18 +14,6 @@ func PluginForkIDs(pl *plugins.PluginLoader, byBlock, byTime []uint64) ([]uint64 return pluginByBlock, pluginByTime, ok - // fnList := pl.Lookup("ForkIDs", func(item interface{}) bool { - // _, ok := item.(func([]uint64, []uint64) ([]uint64, []uint64)) - // return ok - // }) - // for _, fni := range fnList { - // if fn, ok := fni.(func([]uint64, []uint64) ([]uint64, []uint64)); ok { - // pluginByBlock, pluginByTime := fn(byBlock, byTime) - // return pluginByBlock, pluginByTime, true - // } - // } - - // return nil, nil, false } func pluginForkIDs(byBlock, byTime []uint64) ([]uint64, []uint64, bool) {