Fixes mapping of announce addresses

This commit is contained in:
benbierens 2025-01-08 11:52:48 +01:00
parent d13f6c94d3
commit 01cefcc008
No known key found for this signature in database
GPG Key ID: 877D2C2E09A22F3A

View File

@ -15,7 +15,7 @@ namespace CodexPlugin
Id = debugInfo.Id,
Spr = debugInfo.Spr,
Addrs = debugInfo.Addrs.ToArray(),
AnnounceAddresses = JArray(debugInfo.AdditionalProperties, "announceAddresses").Select(x => x.ToString()).ToArray(),
AnnounceAddresses = debugInfo.AnnounceAddresses.ToArray(),
Version = Map(debugInfo.Codex),
Table = Map(debugInfo.Table)
};