add address to exported key

(cherry picked from commit f33649c885)
This commit is contained in:
Andrea Franz 2021-10-08 11:09:45 +02:00 committed by Michele Balistreri
parent 11a46353c1
commit 08c16f00d8
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
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