*Update dist

This commit is contained in:
Derrick Hammer 2022-09-22 09:37:54 -04:00
parent 6fa058d0a0
commit 40cf1ff9e9
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ export default class WisdomRpcQuery extends RpcQueryBase {
}
const list = [];
let available = this._network.relays;
while (list.length < this._network.maxRelays) {
while (list.length <= this._network.maxRelays) {
const item = Math.floor(Math.random() * available.length);
list.push(available[item]);
available.splice(item, 1);