Skip to content

Commit b983b00

Browse files
authored
add WithdrawValidatorCommission to composer.py
1 parent f2d9e85 commit b983b00

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pyinjective/composer.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,14 @@ def MsgWithdrawDelegatorReward(
881881
delegator_address=delegator_address, validator_address=validator_address
882882
)
883883

884+
def MsgWithdrawValidatorCommission(
885+
self, validator_address: str
886+
):
887+
888+
return cosmos_distribution_tx_pb.MsgWithdrawValidatorCommission(
889+
validator_address=validator_address
890+
)
891+
884892
def MsgVote(
885893
self,
886894
proposal_id: str,

0 commit comments

Comments
 (0)