cmd/geth/consolecmd.go¶
| Type | MOD |
| Upstream Lines | 160 |
| Changed | +2 -2 |
Thread the *eth.Ethereum backend through makeFullNode/startNode
diff --git a/cmd/geth/consolecmd.go b/cmd/geth/consolecmd.go
index bf38c8634..1f5da2801 100644
--- a/cmd/geth/consolecmd.go
+++ b/cmd/geth/consolecmd.go
@@ -70,8 +70,8 @@ JavaScript API. See https://geth.ethereum.org/docs/interacting-with-geth/javascr
func localConsole(ctx *cli.Context) error {
// Create and start the node based on the CLI flags
prepare(ctx)
- stack := makeFullNode(ctx)
- startNode(ctx, stack, true)
+ stack, ethBackend := makeFullNode(ctx)
+ startNode(ctx, stack, ethBackend, true)
defer stack.Close()
// Attach to the newly started node and create the JavaScript console.