diff options
author | Pieter Wuille <pieter@wuille.net> | 2020-06-18 16:32:32 -0700 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2020-07-30 13:57:53 -0700 |
commit | e549bf8a9afae42fcda805e216a1cde62df195a6 (patch) | |
tree | 2d00e10ead84a3162f7ddc74300dcfbd340853a4 /src/test/settings_tests.cpp | |
parent | 2a2182c387f607cd8284f33890bd285a81077b7f (diff) |
Make CHash256 and CHash160 consume Spans
Diffstat (limited to 'src/test/settings_tests.cpp')
-rw-r--r-- | src/test/settings_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/settings_tests.cpp b/src/test/settings_tests.cpp index 1a2d775f49..91e039416c 100644 --- a/src/test/settings_tests.cpp +++ b/src/test/settings_tests.cpp @@ -228,7 +228,7 @@ BOOST_FIXTURE_TEST_CASE(Merge, MergeTestingSetup) if (OnlyHasDefaultSectionSetting(settings, network, name)) desc += " ignored"; desc += "\n"; - out_sha.Write((const unsigned char*)desc.data(), desc.size()); + out_sha.Write(MakeUCharSpan(desc)); if (out_file) { BOOST_REQUIRE(fwrite(desc.data(), 1, desc.size(), out_file) == desc.size()); } |