Fixed bug where linear was inv

This commit is contained in:
peepopoggers
2021-01-29 11:27:29 +00:00
parent 9d6add36bd
commit e556b1721e

View File

@@ -67,7 +67,7 @@ export class WebsocketClient extends EventEmitter {
}; };
if (this.options.linear) { if (!this.options.linear) {
this.client = new InverseClient(undefined, undefined, this.options.livenet, this.options.restOptions, this.options.requestOptions); this.client = new InverseClient(undefined, undefined, this.options.livenet, this.options.restOptions, this.options.requestOptions);
}else{ }else{
this.client = new LinearClient(undefined, undefined, this.options.livenet, this.options.restOptions, this.options.requestOptions); this.client = new LinearClient(undefined, undefined, this.options.livenet, this.options.restOptions, this.options.requestOptions);