airgap-it / tezos-rust-sdk

MIT License
20 stars 10 forks source link

fix(ecdsa default signers): hash only once (with blake2b) before signing #22

Closed RomarQ closed 1 year ago

RomarQ commented 1 year ago

The payload was being hashed twice:

  1. With blake2b by us;
  2. With sha256 by the dependency signing method.

Solves https://github.com/airgap-it/tezos-rust-sdk/issues/21