diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-11-08 14:27:35 +0100 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-04-27 19:53:37 +0200 |
commit | facd1fb911abfc595a3484ee53397eff515d4c40 (patch) | |
tree | cc0ed08bb4e505f6570236ab86ef4ef4e268c3c9 /src/test/bip32_tests.cpp | |
parent | fae1006019188700e0c497a63fc1550fe00ca8bb (diff) | |
download | bitcoin-facd1fb911abfc595a3484ee53397eff515d4c40.tar.xz |
refactor: Use Span of std::byte in CExtKey::SetSeed
Diffstat (limited to 'src/test/bip32_tests.cpp')
-rw-r--r-- | src/test/bip32_tests.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/bip32_tests.cpp b/src/test/bip32_tests.cpp index 0fa6b7784f..64cc924239 100644 --- a/src/test/bip32_tests.cpp +++ b/src/test/bip32_tests.cpp @@ -120,8 +120,9 @@ const std::vector<std::string> TEST5 = { "xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHL" }; -void RunTest(const TestVector &test) { - std::vector<unsigned char> seed = ParseHex(test.strHexMaster); +void RunTest(const TestVector& test) +{ + std::vector<std::byte> seed{ParseHex<std::byte>(test.strHexMaster)}; CExtKey key; CExtPubKey pubkey; key.SetSeed(seed); |