mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
epee: dont shrink slice when storing to binary [release]
This commit is contained in:
parent
7cbae6ca98
commit
07f8e9e891
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue