Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when use EthereumKeystoreV3(jsonstring),return nil #812

Open
TheCodeor opened this issue Apr 14, 2023 · 1 comment
Open

when use EthereumKeystoreV3(jsonstring),return nil #812

TheCodeor opened this issue Apr 14, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@TheCodeor
Copy link

TheCodeor commented Apr 14, 2023

What happened?

image

I think jsonString.lowercased() change all string to lowercased .But JSONDecoder().decode(KeystoreParamsV3.self, from: jsonData)
image
The property isHDWallet of KeystoreParamsV3 is uppercase,so decode is wrong.

What are the steps to reproduce?

none

What is the expected behavior?

none

What is the error thrown?

none

What's the stack trace said?

none

OS version

ios 16

Library version

1.1.10

@TheCodeor TheCodeor added the bug Something isn't working label Apr 14, 2023
@yaroslavyaroslav
Copy link
Collaborator

Dude, are you sure about library version? It's just you know living that long is illegal in some places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants