diff options
author | luigi1111 <luigi1111w@gmail.com> | 2022-10-28 00:48:48 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2022-10-28 00:48:48 -0400 |
commit | a43a5caefef073893f4b520e7ed674d9a9d0a8ff (patch) | |
tree | 9102fc7bf32d9523bb8f812e9486d7e573de067a | |
parent | Merge pull request #8529 (diff) | |
parent | rpc: dont shrink slice when loading from binary (diff) | |
download | monero-a43a5caefef073893f4b520e7ed674d9a9d0a8ff.tar.xz |
Merge pull request #8543
d21fd92 rpc: dont shrink slice when loading from binary (Jeffrey Ryan)
-rw-r--r-- | contrib/epee/src/portable_storage.cpp | 2 |
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); } |