From 3011ba4326fa55220a758838835797ff322619fc Mon Sep 17 00:00:00 2001 From: Ivan FB <128452529+Ivansete-status@users.noreply.github.com> Date: Tue, 12 Dec 2023 12:53:36 +0100 Subject: [PATCH] libp2p/multiaddress.nim: use of IpAddress instead of ValidIpAddress (#1001) --- libp2p/multiaddress.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/multiaddress.nim b/libp2p/multiaddress.nim index f45276848..a968a2f07 100644 --- a/libp2p/multiaddress.nim +++ b/libp2p/multiaddress.nim @@ -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()