Skip to content

when use EthereumKeystoreV3(jsonstring),return nil #812

Open
@TheCodeor

Description

@TheCodeor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions