Skip to content

Commit

Permalink
define proper parent error type for YamuxError (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
etan-status authored Mar 4, 2024
1 parent 7603b8d commit 78e8388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libp2p/muxers/yamux/yamux.nim
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ when defined(libp2p_yamux_metrics):
buckets = [0.0, 100.0, 250.0, 1000.0, 2000.0, 3200.0, 6400.0, 25600.0, 256000.0]

type
YamuxError* = object of CatchableError
YamuxError* = object of MuxerError

MsgType = enum
Data = 0x0
Expand Down

0 comments on commit 78e8388

Please sign in to comment.