Modifications to wrappers and loader forenabling node.attach in utils/core/interfaces

This commit is contained in:
philip-morlier committed 2021-10-10 13:08:52 -07:00
1 parent a693104bcb
commit 5b9e5f56e2
2 files changed
+6 -3

No files matched your search

+2 -3
View File
@@ -11,8 +11,8 @@ import (
"reflect"
"strings"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/log"
"gopkg.in/urfave/cli.v1"
)
@@ -53,7 +53,7 @@ var DefaultPluginLoader *PluginLoader
func NewPluginLoader(target string) (*PluginLoader, error) {
pl := &PluginLoader{
Plugins: []*plugin.Plugin{},
Plugins: []*plugin.Plugin{},
Subcommands: make(map[string]Subcommand),
Flags: []*flag.FlagSet{},
LookupCache: make(map[string][]interface{}),
@@ -158,7 +158,6 @@ func ParseFlags(args []string) bool {
return DefaultPluginLoader.ParseFlags(args)
}
type feedWrapper struct {
feed *event.Feed
}