Skip to content

Commit

Permalink
feat: add PeerstoreProvider#GetUnstakedPeerstore() interface method
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Jun 5, 2023
1 parent 54681bd commit 5bf0a38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions p2p/providers/peerstore_provider/peerstore_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5bf0a38

Please sign in to comment.