From 6d63e6d36b3b8f771617a30e6e0d3704e7f99536 Mon Sep 17 00:00:00 2001 From: Achilleas Kalantzis Date: Wed, 27 Apr 2022 11:48:51 +0300 Subject: [PATCH] chore: update MsgGrant example --- examples/chain/19_MsgGrant/example.go | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/examples/chain/19_MsgGrant/example.go b/examples/chain/19_MsgGrant/example.go index 3541d492..49a3572b 100644 --- a/examples/chain/19_MsgGrant/example.go +++ b/examples/chain/19_MsgGrant/example.go @@ -56,20 +56,11 @@ func main() { grantee := "inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r" expireIn := time.Now().AddDate(1, 0, 0) // years months days - // GENERIC AUTHZ + //GENERIC AUTHZ //msgtype := "/injective.exchange.v1beta1.MsgCreateSpotLimitOrder" //msg := chainClient.BuildGenericAuthz(granter, grantee, msgtype, expireIn) // TYPED AUTHZ - //msg := chainClient.BuildExchangeBatchUpdateOrdersAuthz( - // granter, - // grantee, - // chainClient.DefaultSubaccount(senderAddress).String(), - // []string{"0xe0dc13205fb8b23111d8555a6402681965223135d368eeeb964681f9ff12eb2a"}, - // []string{"0xe0dc13205fb8b23111d8555a6402681965223135d368eeeb964681f9ff12eb2a"}, - // expireIn, - //) - msg := chainClient.BuildExchangeAuthz( granter, grantee,