mirror of
https://github.com/oxen-io/oxen-storage-server.git
synced 2023-12-13 21:00:26 +01:00
fix entering the same swarm multiple times in case we are the only node
This commit is contained in:
parent
15e0a7bcb3
commit
484b348419
1 changed files with 1 additions and 3 deletions
|
@ -42,9 +42,7 @@ SwarmEvents Swarm::update_swarms(const all_swarms_t& swarms) {
|
|||
const auto& our_swarm_snodes = our_swarm_it->snodes;
|
||||
const auto our_swarm_id = our_swarm_it->swarm_id;
|
||||
|
||||
if (swarm_peers_.empty()) {
|
||||
|
||||
assert(cur_swarm_id_ == UINT64_MAX);
|
||||
if (cur_swarm_id_ == UINT64_MAX) {
|
||||
|
||||
BOOST_LOG_TRIVIAL(info)
|
||||
<< "EVENT: started SN in swarm: " << our_swarm_id;
|
||||
|
|
Loading…
Reference in a new issue