diff --git a/src/payment/payment.module.ts b/src/payment/payment.module.ts index 960697c1e..521196ccb 100644 --- a/src/payment/payment.module.ts +++ b/src/payment/payment.module.ts @@ -97,7 +97,7 @@ export class PaymentModuleImpl implements PaymentModule { constructor(deps: GolemServices, options?: PaymentModuleOptions) { const network = options?.network ?? this.options.network; const driver = options?.driver ?? this.options.driver; - const token = (options?.token ?? MAINNETS.includes(network)) ? "glm" : "tglm"; + const token = options?.token ?? (MAINNETS.includes(network) ? "glm" : "tglm"); this.options = { network, driver, token }; this.logger = deps.logger;