Feeds the file name string directly into the hasher instead of pre-hashing it first. The resulting hash changes of course, but that doesn’t affect us since it’s only stored in-memory.
Fixes: #32604 (review)
A few other related nits were also addressed here:
- Comment was redundant,
CSipHasher
is used in other hashers all over the codebase static_cast<size_t>
skewed the whole method, changed to shorter functional-style caststruct
formatting is aligned withclass
formatting - see https://github.com/bitcoin/bitcoin/pull/32813