From 5bf0a384a208a688b10675ec9bd1623bf782779b Mon Sep 17 00:00:00 2001 From: Bryan White Date: Mon, 5 Jun 2023 09:55:22 +0200 Subject: [PATCH] feat: add `PeerstoreProvider#GetUnstakedPeerstore()` interface method --- p2p/providers/peerstore_provider/peerstore_provider.go | 1 + 1 file changed, 1 insertion(+) diff --git a/p2p/providers/peerstore_provider/peerstore_provider.go b/p2p/providers/peerstore_provider/peerstore_provider.go index edc5067bd..d368f65a8 100644 --- a/p2p/providers/peerstore_provider/peerstore_provider.go +++ b/p2p/providers/peerstore_provider/peerstore_provider.go @@ -18,6 +18,7 @@ type PeerstoreProvider interface { modules.IntegratableModule GetStakedPeerstoreAtHeight(height uint64) (typesP2P.Peerstore, error) + GetUnstakedPeerstore() (typesP2P.Peerstore, error) } func ActorsToPeerstore(abp PeerstoreProvider, actors []*coreTypes.Actor) (pstore typesP2P.Peerstore, errs error) {