From dedef04abf0bd73b498ef4c502fe75a2e1d93494 Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Tue, 6 Aug 2024 05:49:58 +0200 Subject: [PATCH] Update pyinjective/composer.py Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- pyinjective/composer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyinjective/composer.py b/pyinjective/composer.py index bfb87b81..e9e49e7a 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -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)