Fix p2p server LastUpdated type
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
DataHoarder 2024-04-13 06:07:39 +02:00
parent fba4d141b8
commit 63bd8124a5
Signed by: DataHoarder
SSH key fingerprint: SHA256:OLTRf6Fl87G52SiR7sWLGNzlJt4WOX+tfI2yxo0z7xk

View file

@ -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