Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
fix: non mainnet suport (#152)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastien Verreault <[email protected]>
  • Loading branch information
sebastienverreault and Sebastien Verreault authored Nov 18, 2022
1 parent 6ca43c3 commit 62c895b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dealer/src/OkexExchangeConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class OkexExchangeConfiguration implements ExchangeConfiguration {
this.maxOnChainWithdrawalFee = withdrawalFees.MAX_ON_CHAIN_WITHDRAWAL_FEE
this.timeout = exchange.REQUEST_TIMEOUT || 20000

if (process.env["NETWORK"] === "testnet") {
if (process.env["NETWORK"] !== "mainnet") {
this.headers["x-simulated-trading"] = 1
}
}
Expand Down

0 comments on commit 62c895b

Please sign in to comment.