Skip to content

Commit

Permalink
Handle numeric keys for ETF maps (#2642)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinnDevelopment committed Apr 4, 2024
1 parent e7bafe9 commit e2ef2da
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -278,7 +278,8 @@ private static Map<String, Object> unpackMap0(ByteBuffer buffer)
int arity = buffer.getInt();
while (arity-- > 0)
{
String key = (String) unpack0(buffer);
Object rawKey = unpack0(buffer);
String key = String.valueOf(rawKey);
Object value = unpack0(buffer);
map.put(key, value);
}
Expand Down

0 comments on commit e2ef2da

Please sign in to comment.