mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
add xeth frontend for bzz api in console
This commit is contained in:
parent
ff2081f5fd
commit
96ed21fad7
1 changed files with 1 additions and 2 deletions
|
|
@ -91,8 +91,7 @@ func newJSRE(ethereum *eth.Ethereum, libPath, corsDomain string, bzzEnabled bool
|
||||||
if bzzEnabled {
|
if bzzEnabled {
|
||||||
ds.RegisterProtocol("bzz", &bzz.RoundTripper{Port: bzzPort})
|
ds.RegisterProtocol("bzz", &bzz.RoundTripper{Port: bzzPort})
|
||||||
bzz.NewJSApi(js.re, js.ethereum.Swarm)
|
bzz.NewJSApi(js.re, js.ethereum.Swarm)
|
||||||
// nil for no natsped, memoryrrbmm d
|
js.ethereum.Swarm.Resolver = resolver.New(xeth.New(ethereum, f))
|
||||||
js.ethereum.Swarm.Resolver = resolver.New(xeth.New(ethereum, nil))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if !liner.TerminalSupported() || !interactive {
|
if !liner.TerminalSupported() || !interactive {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue