waku/v2/protocol/rln/web3/web3.go
Function BuildConfig
has 8 return statements (exceeds 4 allowed). Open
Open
func BuildConfig(ctx context.Context, ethClientAddress string, registryAddress common.Address) (*Config, error) {
ethClient, err := ethclient.DialContext(ctx, ethClientAddress)
if err != nil {
return nil, err
}
Method Config.Build
has 5 return statements (exceeds 4 allowed). Open
Open
func (w *Config) Build(ctx context.Context) error {
if w.configured {
return errors.New("already configured")
}