Modifications to wrappers and loader forenabling node.attach in utils/core/interfaces
This commit is contained in:
parent
a693104bcb
commit
5b9e5f56e2
@ -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"
|
||||
)
|
||||
|
||||
@ -158,7 +158,6 @@ func ParseFlags(args []string) bool {
|
||||
return DefaultPluginLoader.ParseFlags(args)
|
||||
}
|
||||
|
||||
|
||||
type feedWrapper struct {
|
||||
feed *event.Feed
|
||||
}
|
||||
|
@ -213,6 +213,10 @@ func (n *Node) ResolvePath(x string) string {
|
||||
return n.n.ResolvePath(x)
|
||||
}
|
||||
|
||||
func (n *Node) Attach() (core.Client, error) {
|
||||
return n.n.Attach()
|
||||
}
|
||||
|
||||
type Backend struct {
|
||||
b interfaces.Backend
|
||||
newTxsFeed event.Feed
|
||||
|
Loading…
Reference in New Issue
Block a user