diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 8fff6fc541..b79beb8132 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -223,7 +223,7 @@ func geth(ctx *cli.Context) error { // it unlocks any requested accounts, and starts the RPC/IPC interfaces and the // miner. func startNode(ctx *cli.Context, stack *node.Node) { - debug.Memsize.Add("node", node) + debug.Memsize.Add("node", stack) // Start up the node itself utils.StartNode(stack)