fix: pubkey shown when importing a seedphrase

This commit is contained in:
Richard Ramos 2022-04-01 20:16:11 -04:00
parent 206c692845
commit c03f0b9d4c

View File

@ -61,7 +61,7 @@ QtObject:
notify = importedAccountChanged notify = importedAccountChanged
proc getImportedAccountPubKey*(self: View): string {.slot.} = proc getImportedAccountPubKey*(self: View): string {.slot.} =
return self.delegate.getImportedAccount().publicKey return self.delegate.getImportedAccount().derivedAccounts.whisper.publicKey
QtProperty[string] importedAccountPubKey: QtProperty[string] importedAccountPubKey:
read = getImportedAccountPubKey read = getImportedAccountPubKey