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 authored Aug 14, 2023
1 parent 1d20333 commit c4d91a1
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")
}

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

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

0 comments on commit c4d91a1

Please sign in to comment.