fix: `keycardUid` param added to `convertToKeycardAccount` proc
This commit is contained in:
parent
534c04dc73
commit
87a4e8ca3e
|
@ -212,8 +212,8 @@ proc loginWithKeycard*(accountData: string, password: string, keyHex: string): s
|
|||
defer: go_shim.free(funcOut)
|
||||
return $funcOut
|
||||
|
||||
proc convertToKeycardAccount*(accountData: string, settingsJSON: string, password: string, newPassword: string): string =
|
||||
var funcOut = go_shim.convertToKeycardAccount(accountData.cstring, settingsJSON.cstring, password.cstring, newPassword.cstring)
|
||||
proc convertToKeycardAccount*(accountData: string, settingsJSON: string, keycardUid: string, password: string, newPassword: string): string =
|
||||
var funcOut = go_shim.convertToKeycardAccount(accountData.cstring, settingsJSON.cstring, keycardUid.cstring, password.cstring, newPassword.cstring)
|
||||
defer: go_shim.free(funcOut)
|
||||
return $funcOut
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ proc validateNodeConfig*(configJSON: cstring): cstring {.importc: "ValidateNodeC
|
|||
|
||||
proc loginWithKeycard*(accountData: cstring, password: cstring, keyHex: cstring): cstring {.importc: "LoginWithKeycard".}
|
||||
|
||||
func convertToKeycardAccount*(accountData: cstring, settingsJSON: cstring, password: cstring, newPassword: cstring): cstring {.importc: "ConvertToKeycardAccount".}
|
||||
func convertToKeycardAccount*(accountData: cstring, settingsJSON: cstring, keycardUid: cstring, password: cstring, newPassword: cstring): cstring {.importc: "ConvertToKeycardAccount".}
|
||||
|
||||
func convertToRegularAccount*(mnemonic: cstring, currPassword: cstring, newPassword: cstring): cstring {.importc: "ConvertToRegularAccount".}
|
||||
|
||||
|
|
Loading…
Reference in New Issue