Skip to main content
Spelling dont -> don't
Source Link
Simson
  • 1.3k
  • 8
  • 23

Then length of an encoded AccountId seems to be shorter than a Hash.
The decoding therefore fails, since "Not enough data to fill buffer" for that hash.

What is the reason I get this error and how do I solve it?

I dontdon't know what you are trying to do. Maybe use a builtin hash funtionfunction like sp_core::keccak_256?

Then length of an encoded AccountId seems to be shorter than a Hash.
The decoding therefore fails, since "Not enough data to fill buffer" for that hash.

What is the reason I get this error and how do I solve it?

I dont know what you are trying to do. Maybe use a builtin hash funtion like sp_core::keccak_256?

Then length of an encoded AccountId seems to be shorter than a Hash.
The decoding therefore fails, since "Not enough data to fill buffer" for that hash.

What is the reason I get this error and how do I solve it?

I don't know what you are trying to do. Maybe use a builtin hash function like sp_core::keccak_256?

Source Link

Then length of an encoded AccountId seems to be shorter than a Hash.
The decoding therefore fails, since "Not enough data to fill buffer" for that hash.

What is the reason I get this error and how do I solve it?

I dont know what you are trying to do. Maybe use a builtin hash funtion like sp_core::keccak_256?