Removed comments in core/forkid/plugin_hooks

This commit is contained in:
philip-morlier 2023-10-24 09:24:39 -07:00
parent 7dd3c9d233
commit 325fc8351e

View File

@ -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) {