diff --git a/library/src/main/java/xmtpv3.kt b/library/src/main/java/xmtpv3.kt index c99345a7..97797726 100644 --- a/library/src/main/java/xmtpv3.kt +++ b/library/src/main/java/xmtpv3.kt @@ -12112,7 +12112,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) }