Skip to content

Commit fe6eb11

Browse files
committed
Fix return type for hint
1 parent a4942da commit fe6eb11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyinjective/transaction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import List, Tuple
1+
from typing import List, Tuple
22

33
from google.protobuf import any_pb2, message
44
from .proto.cosmos.base.v1beta1.coin_pb2 import Coin
@@ -130,7 +130,7 @@ def get_sign_doc(self, public_key: PublicKey = None) -> cosmos_tx_type.SignDoc:
130130
account_number=self.account_num,
131131
)
132132

133-
def get_tx_data(self, signature: bytes, public_key: PublicKey = None) -> str:
133+
def get_tx_data(self, signature: bytes, public_key: PublicKey = None) -> bytes:
134134
body_bytes, auth_info_bytes = self.__generate_info(public_key)
135135

136136
tx_raw = cosmos_tx_type.TxRaw(body_bytes=body_bytes, auth_info_bytes=auth_info_bytes, signatures=[signature])

0 commit comments

Comments
 (0)