Skip to content

Commit 7de9762

Browse files
committed
fix: update bytes type to string in header map
1 parent 585b994 commit 7de9762

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
@@ -465,4 +465,4 @@ def UnpackMsgExecResponse(msg_type, data):
465465
"MsgBid": injective_auction_tx_pb.MsgBidResponse,
466466
}
467467

468-
return header_map[msg_type].FromString(bytes(data, "utf-8"))
468+
return header_map[msg_type].FromString(data)

0 commit comments

Comments
 (0)