mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-21 14:04:20 +01:00
Fix the btcctl uptime command
commit 0b2998b7f279d3aef4d83415dae26948f5a6bdf4 Author: cec489 <173723251+cec489@users.noreply.github.com> Date: Mon Jun 24 20:01:13 2024 +0000 A cleaner fix is to set the startTime in the server Start() function which is where the server is actually started. commit ae6c1256981befb43972e83a086ea663df629873 Author: cec489 <173723251+cec489@users.noreply.github.com> Date: Mon Jun 24 19:15:23 2024 +0000 Fix the btcctl uptime command by moving the setting of startupTime
This commit is contained in:
parent
139669066c
commit
d881c686e6
1 changed files with 1 additions and 0 deletions
|
@ -2483,6 +2483,7 @@ func (s *server) Start() {
|
|||
// the RPC server are rebroadcast until being included in a block.
|
||||
go s.rebroadcastHandler()
|
||||
|
||||
s.rpcServer.cfg.StartupTime = s.startupTime
|
||||
s.rpcServer.Start()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue