mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #2571
8028dde7
block_queue: use boost::uuids::nil_uuid where appropriate (moneromooo-monero)
This commit is contained in:
commit
1e577e8fbf
@ -205,8 +205,7 @@ std::pair<uint64_t, uint64_t> block_queue::reserve_span(uint64_t first_block_hei
|
||||
|
||||
bool block_queue::is_blockchain_placeholder(const span &span) const
|
||||
{
|
||||
static const boost::uuids::uuid uuid0 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
return span.connection_id == uuid0;
|
||||
return span.connection_id == boost::uuids::nil_uuid();
|
||||
}
|
||||
|
||||
std::pair<uint64_t, uint64_t> block_queue::get_start_gap_span() const
|
||||
|
Loading…
Reference in New Issue
Block a user