resolve build error

This commit is contained in:
Cassandra Heart 2025-12-22 12:55:29 -06:00
parent 166b583197
commit e8eba1fbe1
No known key found for this signature in database
GPG Key ID: 371083BFA6C240AA
2 changed files with 3 additions and 3 deletions

View File

@ -944,7 +944,7 @@ func NewAppConsensusEngine(
if hgWithSelfPeer, ok := engine.hyperSync.(interface {
SetSelfPeerID(string)
}); ok {
hgWithSelfPeer.SetSelfPeerID(ps.GetPeerID().String())
hgWithSelfPeer.SetSelfPeerID(peer.ID(ps.GetPeerID()).String())
}
return engine, nil
@ -1072,7 +1072,7 @@ func (e *AppConsensusEngine) triggerGlobalHypersync(proposer []byte, expectedRoo
// Sync from our own master node instead of the proposer to avoid
// overburdening the proposer with sync requests from all workers.
selfPeerID := e.pubsub.GetPeerID()
selfPeerID := peer.ID(e.pubsub.GetPeerID())
go func() {
defer e.globalProverSyncInProgress.Store(false)

View File

@ -1032,7 +1032,7 @@ func NewGlobalConsensusEngine(
if hgWithSelfPeer, ok := engine.hyperSync.(interface {
SetSelfPeerID(string)
}); ok {
hgWithSelfPeer.SetSelfPeerID(ps.GetPeerID().String())
hgWithSelfPeer.SetSelfPeerID(peer.ID(ps.GetPeerID()).String())
}
return engine, nil