fix: invalid keyuid being used with a newly generated account on first login
This commit is contained in:
parent
6efe90ef77
commit
0f66508a79
|
@ -46,6 +46,7 @@ QtObject:
|
|||
name: currNodeAcct.name,
|
||||
identicon: currNodeAcct.identicon,
|
||||
address: currNodeAcct.keyUid,
|
||||
keyUid: currNodeAcct.keyUid,
|
||||
identityImage: currNodeAcct.identityImage
|
||||
))
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ type
|
|||
error*: RpcError
|
||||
|
||||
proc toAccount*(account: GeneratedAccount): Account =
|
||||
result = Account(name: account.name, identityImage: account.identityImage, identicon: account.identicon, keyUid: account.address)
|
||||
result = Account(name: account.name, identityImage: account.identityImage, identicon: account.identicon, keyUid: account.keyUid)
|
||||
|
||||
proc toAccount*(account: NodeAccount): Account =
|
||||
result = Account(name: account.name, identityImage: account.identityImage, identicon: account.identicon, keyUid: account.keyUid)
|
||||
|
|
Loading…
Reference in New Issue