WIP: Feature/6/jeffreypicard/dockerize for deployment #7
1 changed files with 1 additions and 5 deletions
|
@ -205,7 +205,6 @@ type server struct {
|
|||
started int32
|
||||
shutdown int32
|
||||
shutdownSched int32
|
||||
startupTime int64
|
||||
|
||||
chainParams *chaincfg.Params
|
||||
addrManager *addrmgr.AddrManager
|
||||
|
@ -2372,9 +2371,6 @@ func (s *server) Start() {
|
|||
|
||||
srvrLog.Trace("Starting server")
|
||||
|
||||
// Server startup time. Used for the uptime command for uptime calculation.
|
||||
s.startupTime = time.Now().Unix()
|
||||
|
||||
// Start the peer handler which in turn starts the address and block
|
||||
// managers.
|
||||
s.wg.Add(1)
|
||||
|
@ -2975,7 +2971,7 @@ func newServer(listenAddrs, agentBlacklist, agentWhitelist []string,
|
|||
|
||||
s.rpcServer, err = newRPCServer(&rpcserverConfig{
|
||||
Listeners: rpcListeners,
|
||||
StartupTime: s.startupTime,
|
||||
StartupTime: time.Now().Unix(),
|
||||
ConnMgr: &rpcConnManager{&s},
|
||||
SyncMgr: &rpcSyncMgr{&s, s.syncManager},
|
||||
TimeSource: s.timeSource,
|
||||
|
|
Loading…
Reference in a new issue