Skip to content

Commit

Permalink
force reputation minerselector in devnet (#625)
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <[email protected]>
  • Loading branch information
jsign authored Sep 28, 2020
1 parent 29e78f9 commit d373c74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,9 @@ func createDatastore(conf Config) (datastore.TxnDatastore, error) {
}

func getMinerSelector(conf Config, rm *reputation.Module, ai *ask.Runner, cb lotus.ClientBuilder) (ffs.MinerSelector, error) {
if conf.Devnet {
return reptop.New(rm, ai), nil
}
var ms ffs.MinerSelector
var err error

Expand Down

0 comments on commit d373c74

Please sign in to comment.