From e46ede1f9d5c8744e4de59be2d23d0647b91d993 Mon Sep 17 00:00:00 2001 From: CodingEnthusiast Date: Tue, 30 Jul 2024 06:58:17 +0330 Subject: [PATCH] Send correct services in version message --- Src/Autarkysoft.Bitcoin/P2PNetwork/ReplyManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Autarkysoft.Bitcoin/P2PNetwork/ReplyManager.cs b/Src/Autarkysoft.Bitcoin/P2PNetwork/ReplyManager.cs index 0686d6f..1a42da8 100644 --- a/Src/Autarkysoft.Bitcoin/P2PNetwork/ReplyManager.cs +++ b/Src/Autarkysoft.Bitcoin/P2PNetwork/ReplyManager.cs @@ -40,7 +40,7 @@ public ReplyManager(INodeStatus ns, IFullClientSettings cs) : base(ns, cs) /// public override Message GetVersionMsg() { - return GetVersionMsg(new NetworkAddress(0, nodeStatus.IP, nodeStatus.Port), fullSettings.Blockchain.Height); + return GetVersionMsg(new NetworkAddress(fullSettings.Services, nodeStatus.IP, nodeStatus.Port), fullSettings.Blockchain.Height); } private Message[] GetSettingsMessages(Message extraMsg)