Used new Bencoder library 🔩 (#791)

Co-authored-by: Constantine Kovalensky <45331093+kovalensky@users.noreply.github.com>
This commit is contained in:
Roman Kelesidis 2023-06-08 11:45:20 +07:00 committed by GitHub
commit 2369e4cc0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 154 additions and 75 deletions

View file

@ -351,7 +351,7 @@ if (!defined('IN_TRACKER')) {
function dummy_exit($interval = 1800)
{
$output = \Rych\Bencode\Bencode::encode([
$output = \SandFox\Bencode\Bencode::encode([
'interval' => (int)$interval,
'min interval' => (int)$interval,
'peers' => (string)DUMMY_PEER,