mirror of
https://github.com/monero-project/monero.git
synced 2025-04-11 16:52:01 +00:00
Merge eef8c1dd97
into 977dedce2c
This commit is contained in:
commit
68782bb228
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ struct binary_archive<false> : public binary_archive_base<false>
|
|||
{
|
||||
auto current = bytes_.cbegin();
|
||||
auto end = bytes_.cend();
|
||||
good_ &= (0 <= tools::read_varint(current, end, v));
|
||||
good_ &= (0 < tools::read_varint(current, end, v));
|
||||
current = std::min(current, bytes_.cend());
|
||||
bytes_ = {current, std::size_t(bytes_.cend() - current)};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue