waku/v2/node/wakunode2_rln.go
Method WakuNode.setupRLNRelay
has 58 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (w *WakuNode) setupRLNRelay() error {
var err error
if !w.opts.enableRLN {
return nil
Method WakuNode.setupRLNRelay
has 8 return statements (exceeds 4 allowed). Open
Open
func (w *WakuNode) setupRLNRelay() error {
var err error
if !w.opts.enableRLN {
return nil
Method WakuNode.startRlnRelay
has 5 return statements (exceeds 4 allowed). Open
Open
func (w *WakuNode) startRlnRelay(ctx context.Context) error {
rlnRelay := w.rlnRelay.(*rln.WakuRLNRelay)
err := rlnRelay.Start(ctx)
if err != nil {