Clean up compiler warnings

This commit is contained in:
sergeych committed 2026-02-18 18:16:33 +03:00
1 parent 64debf78bd
commit 79a541b148
14 files changed
+61 -90

No files matched your search

+1 -1
View File
@@ -743,7 +743,7 @@ class Wallet( id, ownerKey, balance=0, createdAt=Instant.now().truncateToSecond(
""".trimIndent()
)
suspend fun encBits(obj: Obj): Long = ObjLynonClass.encodeAny(scope, obj).bitArray.size.toLong()
suspend fun encBits(obj: Obj): Long = ObjLynonClass.encodeAny(scope, obj).bitArray.size
suspend fun encBytes(obj: Obj): Long = ObjLynonClass.encodeAny(scope, obj).bitArray.asUByteArray().size.toLong()
assertEquals(54L, encBits(ObjString("Point")))