add missing PatchNumber

This commit is contained in:
Cassandra Heart 2025-11-21 04:42:53 -06:00
parent aac841e6e6
commit aae0bcca59
No known key found for this signature in database
GPG Key ID: 371083BFA6C240AA

View File

@ -214,7 +214,7 @@ func (r *RPCServer) GetNodeInfo(
PeerId: peer.ID(peerID).String(),
PeerScore: uint64(r.pubSub.GetPeerScore(peerID)),
Version: append([]byte{}, config.GetVersion()...),
PatchVersion: []byte{config.GetPatchNumber()},
PatchNumber: []byte{config.GetPatchNumber()},
PeerSeniority: seniority.FillBytes(make([]byte, 8)),
RunningWorkers: uint32(len(workers)),
AllocatedWorkers: allocated,