We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e47b285 commit f5ba897Copy full SHA for f5ba897
1 file changed
api/server/server.go
@@ -119,7 +119,7 @@ type Config struct {
119
120
// NewServer starts and returns a new server with the given configuration.
121
func NewServer(conf Config) (*Server, error) {
122
- if conf.FFSUseMasterAddr && !(len(conf.LotusMasterAddr) > 0 || conf.AutocreateMasterAddr) {
+ if conf.FFSUseMasterAddr && !conf.Devnet && !(len(conf.LotusMasterAddr) > 0 || conf.AutocreateMasterAddr) {
123
return nil, fmt.Errorf("FFSUseMasterAddr requires LotusMasterAddr or AutocreateMasterAddr to be provided")
124
}
125
0 commit comments