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