Skip to content

Commit

Permalink
fix: linter issues
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Ribó <[email protected]>
  • Loading branch information
elribonazo committed Sep 30, 2024
1 parent 477d341 commit f9cec61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@ class KMMEdKeyPairTest {
val key = KMMEdPrivateKey(rawSKEncoded.base64UrlDecodedBytes)
assertTrue(key.raw contentEquals rawSK)
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@ package org.hyperledger.identus.apollo.secp256k1

import fr.acinq.secp256k1.Secp256k1Native
import org.hyperledger.identus.apollo.utils.KMMEdKeyPair
import kotlin.test.*
import kotlin.test.Test
import kotlin.test.assertContentEquals
import kotlin.test.assertEquals
import kotlin.test.assertFalse
import kotlin.test.assertTrue

class Secp256k1Tests {

@Test
fun verifyValidPrivateKeyEd() {

val keypair = KMMEdKeyPair.generateKeyPair()
keypair.privateKey.raw
}



@Test
fun verifyValidPrivateKey() {
val secp256k1 = Secp256k1Native
Expand Down

0 comments on commit f9cec61

Please sign in to comment.