Skip to content

Inaccurate HDKey error message when seed length is invalid #151

@patlo-iog

Description

@patlo-iog

Is this a regression?

No

Description

I got this error message when messing around with BIP32 test vector 1, which has short seed length.

java.lang.IllegalArgumentException: Seed expected byte length to be 32

It looks like HDKey expects a 64 bytes seed, but the error message is asking for 32.

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in

No response

Anything else?

No response

Metadata

Metadata

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