Skip to content

Commit

Permalink
libp2p/multiaddress.nim: use of IpAddress instead of ValidIpAddress (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivansete-status authored Dec 12, 2023
1 parent c656670 commit 3011ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libp2p/multiaddress.nim
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ proc init*(mtype: typedesc[MultiAddress]): MultiAddress =
## Initialize empty MultiAddress.
result.data = initVBuffer()

proc init*(mtype: typedesc[MultiAddress], address: ValidIpAddress,
proc init*(mtype: typedesc[MultiAddress], address: IpAddress,
protocol: IpTransportProtocol, port: Port): MultiAddress =
var res: MultiAddress
res.data = initVBuffer()
Expand Down

0 comments on commit 3011ba4

Please sign in to comment.