TimelordUK / jspurefix

native typescript FIX engine
MIT License
58 stars 27 forks source link

#28 fix misplaced check of acceptor/initiator config files #29

Closed rcluan closed 2 years ago

rcluan commented 2 years ago

Closes #28

private async setup () {
    this.sessionContainer.registerGlobal()
    const server = this.acceptorConfig ? this.makeServer() : this.empty()
    const client = this.initiatorConfig ? this.makeClient() : this.empty()
    this.logger.info('launching ....')
    return Promise.all([server, client])
}
TimelordUK commented 2 years ago

Thanks a lot you are right this is incorrect.

rcluan commented 2 years ago

My pleasure