Fix p2p server LastUpdated type
This commit is contained in:
parent
fba4d141b8
commit
63bd8124a5
|
@ -289,7 +289,7 @@ func (s *Server) CleanupBanList() {
|
|||
func (s *Server) UpdateClientConnections() {
|
||||
|
||||
currentTime := uint64(time.Now().Unix())
|
||||
lastUpdated := s.SideChain().LastUpdated()
|
||||
lastUpdated := uint64(s.SideChain().LastUpdated().Unix())
|
||||
|
||||
var hasGoodPeers bool
|
||||
var fastestPeer *Client
|
||||
|
|
Loading…
Reference in a new issue