Skip to content

Commit

Permalink
fix: connectable check
Browse files Browse the repository at this point in the history
- hex2bin is already performed in the DTO
  • Loading branch information
HDVinnie committed Feb 5, 2024
1 parent 31e1fc8 commit e990671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Jobs/ProcessAnnounce.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ private function getConnectableStatus(): bool
$ip = '['.$ip.']';
}

$key = $ip.'-'.$this->queries->port.'-'.hex2bin($this->queries->getAgent());
$key = $ip.'-'.$this->queries->port.'-'.$this->queries->getAgent();

// Check cache
if (cache()->has('peers:connectable-timer:'.$key)) {
Expand Down

0 comments on commit e990671

Please sign in to comment.