mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-06 03:18:23 +00:00
Fix: Always return hex key for get_public_key
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
+1
-5
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user