mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
always return hex key for the get_public_key method
This commit is contained in:
@@ -357,7 +357,7 @@ class SignerProvider : ContentProvider() {
|
||||
)
|
||||
|
||||
val cursor = MatrixCursor(arrayOf("signature", "result"))
|
||||
val result = if (sortOrder == null) account.signer.keyPair.pubKey.toNpub() else account.signer.keyPair.pubKey.toHexKey()
|
||||
val result = account.signer.keyPair.pubKey.toHexKey()
|
||||
cursor.addRow(arrayOf<Any>(result, result))
|
||||
return cursor
|
||||
}
|
||||
|
||||
+2
-3
@@ -109,11 +109,10 @@ fun SingleEventHomeScreen(
|
||||
val sig =
|
||||
if (intentData.type == SignerType.CONNECT) {
|
||||
intentData.bunkerRequest!!.nostrConnectSecret.ifBlank { "ack" }
|
||||
} else if (intentData.bunkerRequest != null) {
|
||||
account.signer.keyPair.pubKey.toHexKey()
|
||||
} else {
|
||||
account.signer.keyPair.pubKey.toNpub()
|
||||
account.signer.keyPair.pubKey.toHexKey()
|
||||
}
|
||||
|
||||
coroutineScope.launch {
|
||||
sendResult(
|
||||
context,
|
||||
|
||||
Reference in New Issue
Block a user