Remove unused raw-pointer read helper from univalue

This commit is contained in:
MarcoFalke
2023-07-27 12:17:50 +02:00
parent dfe2dc1d84
commit fa940f41ea
13 changed files with 27 additions and 26 deletions

View File

@@ -394,7 +394,7 @@ BOOST_AUTO_TEST_CASE(bip341_spk_test_vectors)
using control_set = decltype(TaprootSpendData::scripts)::mapped_type;
UniValue tests;
tests.read((const char*)json_tests::bip341_wallet_vectors, sizeof(json_tests::bip341_wallet_vectors));
tests.read(json_tests::bip341_wallet_vectors);
const auto& vectors = tests["scriptPubKey"];