web3swift icon indicating copy to clipboard operation
web3swift copied to clipboard

when use EthereumKeystoreV3(jsonstring),return nil

Open TheCodeor opened this issue 1 year ago • 1 comments

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 avatar Apr 14 '23 10:04 TheCodeor

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

yaroslavyaroslav avatar Apr 14 '23 15:04 yaroslavyaroslav