From 852ec660eec0463d22311fff5d7f4e64abd0f5b5 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Wed, 25 Oct 2023 17:32:32 -0700 Subject: [PATCH] more fixes for linter --- library/src/main/java/xmtp_dh.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/xmtp_dh.kt b/library/src/main/java/xmtp_dh.kt index 1f717e8f6..b12d6cc5e 100644 --- a/library/src/main/java/xmtp_dh.kt +++ b/library/src/main/java/xmtp_dh.kt @@ -628,7 +628,7 @@ public object FfiConverterSequenceUByte : FfiConverterRustBuffer> { override fun write(value: List, buf: ByteBuffer) { buf.putInt(value.size) - value.forEach { + value.iterator().forEach { FfiConverterUByte.write(it, buf) } }