mirror of
https://github.com/status-im/status-keycard-go.git
synced 2025-01-31 08:37:16 +00:00
json numbers are float64
This commit is contained in:
parent
c86dd29a2e
commit
aafe062ad0
@ -316,7 +316,7 @@ func (f *KeycardFlow) loadKeys(kc *keycardContext) error {
|
|||||||
mnemonicLength = defMnemoLen
|
mnemonicLength = defMnemoLen
|
||||||
}
|
}
|
||||||
|
|
||||||
indexes, err := kc.generateMnemonic(mnemonicLength.(int) / 3)
|
indexes, err := kc.generateMnemonic(int(mnemonicLength.(float64)) / 3)
|
||||||
|
|
||||||
if isSCardError(err) {
|
if isSCardError(err) {
|
||||||
return restartErr()
|
return restartErr()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user