From 2185e511ca0499279214d1a90a9f7efda84dfd26 Mon Sep 17 00:00:00 2001 From: Achilleas Kalantzis Date: Tue, 22 Nov 2022 11:47:16 +0200 Subject: [PATCH] chore: fix MsgRewardsOptOut --- README.md | 1 + pyinjective/composer.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2d376447..3c1e5a76 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,7 @@ Note that the [sync client](https://github.com/InjectiveLabs/sdk-python/blob/mas ### Changelogs **0.5.9.0** * Re-gen proto +* Fix MsgRewardsOptOut * Remove pysha3 dependency **0.5.8.8** diff --git a/pyinjective/composer.py b/pyinjective/composer.py index 23156e31..01635e7f 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -340,9 +340,9 @@ def MsgBatchCancelSpotOrders(self, sender: str, data: List): sender=sender, data=data ) - def MsgRewardsOptOut(self, sender: str, dmm_account: str): + def MsgRewardsOptOut(self, sender: str): return injective_exchange_tx_pb.MsgRewardsOptOut( - sender=sender, dmm_account=dmm_account + sender=sender ) def MsgCreateDerivativeLimitOrder(