Skip to content

Commit 01cefcc

Browse files
committed
Fixes mapping of announce addresses
1 parent d13f6c9 commit 01cefcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ProjectPlugins/CodexPlugin/Mapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public DebugInfo Map(CodexOpenApi.DebugInfo debugInfo)
1515
Id = debugInfo.Id,
1616
Spr = debugInfo.Spr,
1717
Addrs = debugInfo.Addrs.ToArray(),
18-
AnnounceAddresses = JArray(debugInfo.AdditionalProperties, "announceAddresses").Select(x => x.ToString()).ToArray(),
18+
AnnounceAddresses = debugInfo.AnnounceAddresses.ToArray(),
1919
Version = Map(debugInfo.Codex),
2020
Table = Map(debugInfo.Table)
2121
};

0 commit comments

Comments
 (0)