Skip to content

Commit

Permalink
Update pyinjective/composer.py
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
aarmoa and coderabbitai[bot] committed Aug 6, 2024
1 parent e5095d5 commit dedef04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyinjective/composer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ def msg_decrease_position_margin(
destination_subaccount_id: str,
market_id: str,
amount: Decimal,
):
) -> injective_exchange_tx_pb.MsgDecreasePositionMargin:
market = self.derivative_markets[market_id]

additional_margin = market.margin_to_chain_format(human_readable_value=amount)
Expand Down

0 comments on commit dedef04

Please sign in to comment.