aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJeffrey Ryan <jeffreyryan@tutanota.com>2022-08-30 19:26:39 -0500
committerJeffrey Ryan <jeffreyryan@tutanota.com>2022-08-30 19:26:39 -0500
commitd21fd9242c36f3acf940e655ba1c779b57b26877 (patch)
tree5b8a89219eb172459db3555ebd0c30f7a76cef60 /contrib
parentMerge pull request #8497 (diff)
downloadmonero-d21fd9242c36f3acf940e655ba1c779b57b26877.tar.xz
rpc: dont shrink slice when loading from binary
Diffstat (limited to 'contrib')
-rw-r--r--contrib/epee/src/portable_storage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/src/portable_storage.cpp b/contrib/epee/src/portable_storage.cpp
index b922cc9e3..cedc58e46 100644
--- a/contrib/epee/src/portable_storage.cpp
+++ b/contrib/epee/src/portable_storage.cpp
@@ -49,7 +49,7 @@ namespace serialization
byte_stream ss;
ss.reserve(initial_buffer_size);
store_to_binary(ss);
- target = epee::byte_slice{std::move(ss)};
+ target = epee::byte_slice{std::move(ss), false};
return true;
CATCH_ENTRY("portable_storage::store_to_binary", false);
}