Skip to content

Commit a08eed7

Browse files
committed
minor refactoring in composer
1 parent 463bd99 commit a08eed7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyinjective/composer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def DerivativeOrder(
6767
quantity: float,
6868
leverage: float,
6969
is_buy: bool,
70-
is_reduce_only: bool = False
70+
is_reduce_only: bool
7171
):
7272
# load denom metadata
7373
denom = Denom.load_market(self.network, market_id)
@@ -206,7 +206,7 @@ def MsgCreateDerivativeLimitOrder(
206206
price: float,
207207
quantity: float,
208208
is_buy: bool,
209-
is_reduce_only: bool,
209+
is_reduce_only: bool = False,
210210
leverage: float = 1
211211
):
212212
return injective_exchange_tx_pb.MsgCreateDerivativeLimitOrder(

0 commit comments

Comments
 (0)