Clean up compiler warnings
This commit is contained in:
1 parent
64debf78bd
commit
79a541b148
14 files changed
+61
-90
No files matched your search
@@ -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")))
|
||||
|
||||
Reference in new issue
Block a user