File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1010from .proto .injective .exchange .v1beta1 import authz_pb2 as injective_authz_pb
1111
1212from .proto .cosmos .bank .v1beta1 import tx_pb2 as cosmos_bank_tx_pb
13- from .proto .cosmos .base .v1beta1 import coin_pb2 as cosmos_base_coin_pb
1413
1514from .proto .injective .exchange .v1beta1 import tx_pb2 as injective_exchange_tx_pb
1615from .proto .injective .exchange .v1beta1 import exchange_pb2 as injective_exchange_pb
2827
2928from .proto .cosmos .gov .v1beta1 import tx_pb2 as cosmos_gov_tx_pb
3029
30+ from pyinjective .proto .cosmos .base .v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2
31+
3132from .constant import Denom
3233from .utils import *
3334from typing import List
@@ -40,7 +41,7 @@ def __init__(self, network: str):
4041 self .network = network
4142
4243 def Coin (self , amount : int , denom : str ):
43- return cosmos_base_coin_pb .Coin (amount = str (amount ), denom = denom )
44+ return cosmos_dot_base_dot_v1beta1_dot_coin__pb2 .Coin (amount = str (amount ), denom = denom )
4445
4546 def get_order_mask (self , ** kwargs ):
4647 order_mask = 0
You can’t perform that action at this time.
0 commit comments