Skip to content

Commit

Permalink
Send correct services in version message
Browse files Browse the repository at this point in the history
  • Loading branch information
Coding-Enthusiast committed Jul 30, 2024
1 parent c142ca5 commit e46ede1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Autarkysoft.Bitcoin/P2PNetwork/ReplyManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public ReplyManager(INodeStatus ns, IFullClientSettings cs) : base(ns, cs)
/// <inheritdoc/>
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)
Expand Down

0 comments on commit e46ede1

Please sign in to comment.