fix: fix Windows not showing username because of missing cstring
(cherry picked from commit 52ab82f667ae5f003ab8da964f364e6aae3cebdc)
This commit is contained in:
parent
b4a70d6aa4
commit
edda9dba6e
|
@ -42,10 +42,10 @@ proc generateAddresses*(n = 5): seq[GeneratedAccount] =
|
|||
result = Json.decode(generatedAccounts, seq[GeneratedAccount])
|
||||
|
||||
proc generateAlias*(publicKey: string): string =
|
||||
result = $nim_status.generateAlias(publicKey.toGoString)
|
||||
result = $nim_status.generateAlias(publicKey.cstring)
|
||||
|
||||
proc generateIdenticon*(publicKey: string): string =
|
||||
result = $nim_status.identicon(publicKey.toGoString)
|
||||
result = $nim_status.identicon(publicKey.cstring)
|
||||
|
||||
proc ensureDir(dirname: string) =
|
||||
if not existsDir(dirname):
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 677a000c243fcc16244a6107422a8f1aa83acaeb
|
||||
Subproject commit cffc38c9fa0dd570cc3676dd32cfcc92c04b7c86
|
Loading…
Reference in New Issue