aboutsummaryrefslogtreecommitdiff
path: root/src/univalue/test
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-27 12:17:50 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-27 14:24:52 +0200
commitfa940f41eaffa4b2a28c465a10a4c12d4b8976b8 (patch)
treed92ef58ded0d996d404b7421103e47df1e375b4f /src/univalue/test
parentdfe2dc1d84436d4eae351612dbf0b92f032389be (diff)
downloadbitcoin-fa940f41eaffa4b2a28c465a10a4c12d4b8976b8.tar.xz
Remove unused raw-pointer read helper from univalue
Diffstat (limited to 'src/univalue/test')
-rw-r--r--src/univalue/test/unitester.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/univalue/test/unitester.cpp b/src/univalue/test/unitester.cpp
index 6344a5a0ab..d27e647e5c 100644
--- a/src/univalue/test/unitester.cpp
+++ b/src/univalue/test/unitester.cpp
@@ -153,7 +153,7 @@ void no_nul_test()
{
char buf[] = "___[1,2,3]___";
UniValue val;
- assert(val.read(buf + 3, 7));
+ assert(val.read({buf + 3, 7}));
}
int main (int argc, char *argv[])