Skip to content

Commit 5a5d098

Browse files
committed
fix: modify the authz MsgResponses
1 parent 68243c9 commit 5a5d098

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyinjective/composer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,9 @@ def MsgResponses(data, simulation=False):
433433
"/injective.exchange.v1beta1.MsgIncreasePositionMargin": injective_exchange_tx_pb.MsgIncreasePositionMarginResponse,
434434
"/injective.auction.v1beta1.MsgBid": injective_auction_tx_pb.MsgBidResponse,
435435
"/cosmos.bank.v1beta1.MsgSend": cosmos_bank_tx_pb.MsgSendResponse,
436-
"/cosmos.authz.v1beta1.MsgGrant": cosmos_authz_tx_pb.MsgGrant,
437-
"/cosmos.authz.v1beta1.MsgExec": cosmos_authz_tx_pb.MsgExec,
438-
"/cosmos.authz.v1beta1.MsgRevoke": cosmos_authz_tx_pb.MsgRevoke,
436+
"/cosmos.authz.v1beta1.MsgGrant": cosmos_authz_tx_pb.MsgGrantResponse,
437+
"/cosmos.authz.v1beta1.MsgExec": cosmos_authz_tx_pb.MsgExecResponse,
438+
"/cosmos.authz.v1beta1.MsgRevoke": cosmos_authz_tx_pb.MsgRevokeResponse,
439439
}
440440

441441
response = tx_response_pb.TxResponseData.FromString(data)

0 commit comments

Comments
 (0)