From 4d53e6c418f4a001eed22c9edf79b6673acbbef1 Mon Sep 17 00:00:00 2001 From: zj Date: Fri, 8 Mar 2019 12:59:00 +0800 Subject: [PATCH] PlaceOrder: remove hard code timeinforce=1 --- src/client/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/index.js b/src/client/index.js index 19525579..86fe11d6 100644 --- a/src/client/index.js +++ b/src/client/index.js @@ -218,7 +218,7 @@ export class BncClient { sender: address, side: placeOrderMsg.side, symbol: placeOrderMsg.symbol, - timeinforce: 1, + timeinforce: timeinforce, } return await this._sendTransaction(placeOrderMsg, signMsg, address, sequence, "", true)