Skip to content

Commit c0587f9

Browse files
Merge pull request #76 from InjectiveLabs/f/fix-msgexec
fix: update bytes type to string in header map
2 parents 585b994 + 7de9762 commit c0587f9

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)