fix: use correct pubkey during account generation
This commit is contained in:
parent
ea11107759
commit
206c692845
|
@ -41,7 +41,7 @@ method load*(self: Module) =
|
||||||
let generatedAccounts = self.controller.getGeneratedAccounts()
|
let generatedAccounts = self.controller.getGeneratedAccounts()
|
||||||
var accounts: seq[Item]
|
var accounts: seq[Item]
|
||||||
for acc in generatedAccounts:
|
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)
|
self.view.setAccountList(accounts)
|
||||||
|
|
||||||
|
|
|
@ -123,7 +123,7 @@ Item {
|
||||||
StyledText {
|
StyledText {
|
||||||
id: chatKeyTxt
|
id: chatKeyTxt
|
||||||
color: Style.current.secondaryText
|
color: Style.current.secondaryText
|
||||||
text: "Chatkey:" + root.address
|
text: "Chatkey:" + root.pubKey
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
Loading…
Reference in New Issue