diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-07-18 22:54:38 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-07-24 17:40:18 +0200 |
commit | fa7b57e5f5a6dafbbadc361ffd27b58afff1ed59 (patch) | |
tree | 7fed09f6280c0e6cfcbb7bc075a804426c3a785a /src/test/fuzz | |
parent | fa9077724507faad207f29509a8202fc6ac9d502 (diff) | |
download | bitcoin-fa7b57e5f5a6dafbbadc361ffd27b58afff1ed59.tar.xz |
refactor: Replace ParseHashStr with FromHex
No need to have two functions with different names that achieve the
exact same thing.
Diffstat (limited to 'src/test/fuzz')
-rw-r--r-- | src/test/fuzz/hex.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/fuzz/hex.cpp b/src/test/fuzz/hex.cpp index f67b820d11..bc46863f1d 100644 --- a/src/test/fuzz/hex.cpp +++ b/src/test/fuzz/hex.cpp @@ -27,8 +27,7 @@ FUZZ_TARGET(hex) assert(ToLower(random_hex_string) == hex_data); } (void)IsHexNumber(random_hex_string); - uint256 result; - (void)ParseHashStr(random_hex_string, result); + (void)uint256::FromHex(random_hex_string); (void)uint256S(random_hex_string); try { (void)HexToPubKey(random_hex_string); |