We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd6be22 commit 9ec537cCopy full SHA for 9ec537c
src/CoreApi/SwarmApi.cs
@@ -82,7 +82,7 @@ public async Task<IEnumerable<ConnectedPeer>> PeersAsync()
82
return peers.Select(p => new ConnectedPeer
83
{
84
Id = (string)p["Peer"],
85
- ConnectedAddress = new MultiAddress((string)p["Addr"]),
+ ConnectedAddress = new MultiAddress((string)p["Addr"] + "/ipfs/" + (string)p["Peer"]),
86
Latency = ParseLatency((string)p["Latency"])
87
});
88
}
0 commit comments