Skip to content

Commit fa02ca6

Browse files
committed
chore: fix Coin return
1 parent d3b402d commit fa02ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyinjective/composer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(self, network: str):
4141
self.network = network
4242

4343
def Coin(self, amount: int, denom: str):
44-
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)
4545

4646
def get_order_mask(self, **kwargs):
4747
order_mask = 0

0 commit comments

Comments
 (0)