diff --git a/server.go b/server.go index fe21d8d6..743c8a61 100644 --- a/server.go +++ b/server.go @@ -616,7 +616,7 @@ func newServer(addr string, db btcdb.Db, btcnet btcwire.BitcoinNet) (*server, er log.Infof("[BMGR] Block index generation complete") if !cfg.DisableRPC { - s.rpcServer, err = newRpcServer(&s) + s.rpcServer, err = newRPCServer(&s) if err != nil { return nil, err }