Fix: Always return hex key for get_public_key

This commit is contained in:
greenart7c3
2026-01-05 06:51:06 -03:00
parent ef4f36a9c5
commit 87b929cfc6
2 changed files with 2 additions and 6 deletions
@@ -445,7 +445,7 @@ class SignerProvider : ContentProvider() {
}
val cursor = MatrixCursor(arrayOf("signature", "result"))
val result = if (sortOrder == null) account.npub else account.hexKey
val result = account.hexKey
cursor.addRow(arrayOf<Any>(result, result))
return cursor
}
@@ -78,11 +78,7 @@ fun IntentSingleEventHomeScreen(
applicationName = applicationName,
permissions = intentData.permissions,
onAccept = { permissions, signPolicy, closeApplication, rememberType ->
val result = if (packageName == null) {
account.hexKey
} else {
account.npub
}
val result = account.hexKey
IntentUtils.sendResult(
context,