diff --git a/app/service/PeeringService.ts b/app/service/PeeringService.ts index 2e93ff557e3b86f1f52cd5c3dec59636212f8892..0b6528cc3588f48392b76a59e07394058b88b769 100644 --- a/app/service/PeeringService.ts +++ b/app/service/PeeringService.ts @@ -111,12 +111,6 @@ export class PeeringService { if(!found && thePeerDTO.endpoints.length === 0){ throw 'Peer with zero endpoints that is not already known' } - if(found && thePeerDTO.endpoints.length === 0){ - // This peer is saying "I'm no more joinable" - // ==> Remove it from the database - await this.dal.removePeerByPubkey(thePeerDTO.pubkey) - return thePeerDTO - } else if(found){ // Already existing peer const sp2 = found.block.split('-');