tari-project / tari

The Tari protocol
https://tari.com
BSD 3-Clause "New" or "Revised" License
345 stars 212 forks source link

chore: refactor key manager hasher #6330

Closed AaronFeickert closed 4 months ago

AaronFeickert commented 4 months ago

Description

Refactors the key manager hasher for clarity.

Closes #6327.

Motivation and Context

The key manager hasher is instantiated using a wrapper function that is poorly named, as it is reused in multiple contexts. This PR refactors for clarity.

How Has This Been Tested?

Tests pass.

What process can a PR reviewer use to test or verify this change?

Check the refactoring does not change behavior.

github-actions[bot] commented 4 months ago

Test Results (CI)

    3 files    120 suites   43m 58s :stopwatch: 1 277 tests 1 277 :white_check_mark: 0 :zzz: 0 :x: 3 823 runs  3 823 :white_check_mark: 0 :zzz: 0 :x:

Results for commit 16439efb.

github-actions[bot] commented 4 months ago

Test Results (Integration tests)

33 tests   33 :white_check_mark:  13m 22s :stopwatch: 11 suites   0 :zzz:  2 files     0 :x:

Results for commit 16439efb.