diff --git a/library/src/main/java/xmtpv3.kt b/library/src/main/java/xmtpv3.kt index b4a6f2d2..4b8a1e5d 100644 --- a/library/src/main/java/xmtpv3.kt +++ b/library/src/main/java/xmtpv3.kt @@ -12407,7 +12407,7 @@ public object FfiConverterMapByteArraySequenceTypeFfiHmacKey : // The parens on `(k, v)` here ensure we're calling the right method, // which is important for compatibility with older android devices. // Ref https://blog.danlew.net/2017/03/16/kotlin-puzzler-whose-line-is-it-anyways/ - value.forEach { (k, v) -> + value.iterator().forEach { (k, v) -> FfiConverterByteArray.write(k, buf) FfiConverterSequenceTypeFfiHmacKey.write(v, buf) }