Skip to content

Commit

Permalink
chore: apply feedback suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Marten Seemann <[email protected]>
  • Loading branch information
hacdias and marten-seemann committed Aug 14, 2023
1 parent e197ee1 commit ed9c389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/node/libp2p/smux.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func makeSmuxTransportOption(tptConfig config.Transports) (libp2p.Option, error)
return nil, fmt.Errorf("Swarm.Transports.Multiplexers.Yamux is disabled even tho it is the only multiplexer available")
}

Check warning on line 32 in core/node/libp2p/smux.go

View check run for this annotation

Codecov / codecov/patch

core/node/libp2p/smux.go#L27-L32

Added lines #L27 - L32 were not covered by tests

return libp2p.Muxer("/yamux/1.0.0", yamuxTransport()), nil
return libp2p.Muxer(yamux.ID, yamuxTransport()), nil

Check warning on line 34 in core/node/libp2p/smux.go

View check run for this annotation

Codecov / codecov/patch

core/node/libp2p/smux.go#L34

Added line #L34 was not covered by tests
}

func SmuxTransport(tptConfig config.Transports) func() (opts Libp2pOpts, err error) {
Expand Down

0 comments on commit ed9c389

Please sign in to comment.