Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: Use new SDK function cx_keccak_256_hash #114

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

xchapron-ledger
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7b8c85b) 83.01% compared to head (2307134) 83.01%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #114   +/-   ##
=======================================
  Coverage   83.01%   83.01%           
=======================================
  Files           3        3           
  Lines          53       53           
=======================================
  Hits           44       44           
  Misses          9        9           
Flag Coverage Δ
unittests 83.01% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

sgliner-ledger
sgliner-ledger previously approved these changes Feb 21, 2024
src/address.c Outdated
64,
address,
sizeof(address)) != CX_OK) {
if (cx_keccak_256_hash(public_key + 1,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we could replace this magic value with a define

@xchapron-ledger xchapron-ledger merged commit 6061f31 into master Feb 21, 2024
41 checks passed
@xchapron-ledger xchapron-ledger deleted the xch/improve-cx-hash branch February 21, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants