From 019daf8ed305fd1a35faac84ecc5cf219480734d Mon Sep 17 00:00:00 2001 From: Joshua McDonald Date: Thu, 8 Jun 2023 11:56:12 -0500 Subject: [PATCH] fix type Signed-off-by: Joshua McDonald --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 883d2f9..39a48cd 100644 --- a/src/index.js +++ b/src/index.js @@ -4,7 +4,7 @@ const EventEmitter = require('events'); const splitStream = require('./split-stream'); const PEER_LIST_FILE = process.cwd() + '/Data/peerlist.json'; -const peerList = []; +var peerList = []; const random4digithex = () => Math.random().toString(16).split('.')[1].substr(0, 4); const randomuuid = () => new Array(8).fill(0).map(() => random4digithex()).join('-');