fix: use correct pubkey during account generation

This commit is contained in:
Richard Ramos 2022-03-31 17:08:08 -04:00
parent ea11107759
commit 206c692845
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ method load*(self: Module) =
let generatedAccounts = self.controller.getGeneratedAccounts()
var accounts: seq[Item]
for acc in generatedAccounts:
accounts.add(initItem(acc.id, acc.alias, acc.identicon, acc.address, acc.publicKey, acc.keyUid))
accounts.add(initItem(acc.id, acc.alias, acc.identicon, acc.address, acc.derivedAccounts.whisper.publicKey, acc.keyUid))
self.view.setAccountList(accounts)

View File

@ -123,7 +123,7 @@ Item {
StyledText {
id: chatKeyTxt
color: Style.current.secondaryText
text: "Chatkey:" + root.address
text: "Chatkey:" + root.pubKey
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
Layout.alignment: Qt.AlignHCenter