Skip to content

Commit 2f428a7

Browse files
authored
Merge pull request multiformats#27 from libp2p/fix/error-message
fix an incorrect error message
2 parents 07ed92c + 690c69f commit 2f428a7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ require (
1111
github.com/onsi/ginkgo v1.8.0
1212
github.com/onsi/gomega v1.5.0
1313
)
14+
15+
go 1.12

upgrader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (u *Upgrader) upgrade(ctx context.Context, t transport.Transport, maconn ma
9191
smconn, err := u.setupMuxer(ctx, sconn, p)
9292
if err != nil {
9393
sconn.Close()
94-
return nil, fmt.Errorf("failed to negotiate security stream multiplexer: %s", err)
94+
return nil, fmt.Errorf("failed to negotiate stream multiplexer: %s", err)
9595
}
9696
return &transportConn{
9797
MuxedConn: smconn,

0 commit comments

Comments
 (0)