Add chainconfig to backend

This commit is contained in:
Austin Roberts committed 2021-09-14 17:44:25 -05:00
1 parent 411a43e378
commit 7b33b6e821
3 files changed
+38 -4

No files matched your search

-3
View File
@@ -53,12 +53,9 @@ var DefaultPluginLoader *PluginLoader
func NewPluginLoader(target string) (*PluginLoader, error) {
pl := &PluginLoader{
Plugins: []*plugin.Plugin{},
// RPCPlugins: []APILoader{},
Subcommands: make(map[string]Subcommand),
Flags: []*flag.FlagSet{},
LookupCache: make(map[string][]interface{}),
// CreateConsensusEngine: ethconfig.CreateConsensusEngine,
// UpdateBlockchainVMConfig: func(cfg *vm.Config) {},
}
files, err := ioutil.ReadDir(target)
if err != nil {