diff --git a/p2p/module.go b/p2p/module.go index d488afbc0..7aec6fdae 100644 --- a/p2p/module.go +++ b/p2p/module.go @@ -279,6 +279,10 @@ func (m *p2pModule) GetAddress() (cryptoPocket.Address, error) { return m.address, nil } +func (m *p2pModule) GetUnstakedPeerstore() (typesP2P.Peerstore, error) { + return m.unstakedActorRouter.GetPeerstore(), nil +} + // setupDependencies sets up the module's current height and peerstore providers. func (m *p2pModule) setupDependencies() error { if err := m.setupCurrentHeightProvider(); err != nil {