add address to exported key

This commit is contained in:
Andrea Franz 2021-10-08 11:09:45 +02:00
parent 564af902e6
commit f33649c885
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
3 changed files with 4 additions and 2 deletions

View File

@ -81,7 +81,8 @@ method keycardExportKey*(self: StatusGoBackend, derive: bool, makeCurrent: bool,
result = KeycardExportedKey(
privKey: parsedResponse["privateKey"].getStr(),
pubKey: parsedResponse["publicKey"].getStr()
pubKey: parsedResponse["publicKey"].getStr(),
address: parsedResponse["address"].getStr()
)
method keycardGetStatusApplication*(self: StatusGoBackend): KeycardStatus =

View File

@ -45,4 +45,5 @@ type KeycardStatus* = ref object
type KeycardExportedKey* = ref object
privKey*: string
pubKey*: string
address*: string

@ -1 +1 @@
Subproject commit 469aa272688102293c408ea40f422e52a22a8c8c
Subproject commit 7a448595f758c7a1ae36ca935957b316fcf6c8b6