[#423] *: Use hrw.StringHash() where possible
All checks were successful
ci/woodpecker/push/pre-commit Pipeline was successful
All checks were successful
ci/woodpecker/push/pre-commit Pipeline was successful
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
cd92d8a9e7
commit
41ab4d070e
5 changed files with 6 additions and 6 deletions
|
@ -216,7 +216,7 @@ func addressHash(addr *oid.Address, path string) uint64 {
|
|||
a = addr.EncodeToString()
|
||||
}
|
||||
|
||||
return hrw.Hash([]byte(a + path))
|
||||
return hrw.StringHash(a + path)
|
||||
}
|
||||
|
||||
// converts uint64 to hex string.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue