Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit c7df6bf

Browse files
committed
bytes and str compat
1 parent 9193947 commit c7df6bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethereum/transactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def sign(self, key):
127127
pk.ecdsa_sign_recoverable(rawhash, raw=True)
128128
)
129129
signature = signature[0] + chr(signature[1]).encode('utf8')
130-
self.v = ord(signature[64]) + 27
130+
self.v = signature[64] + 27
131131
self.r = big_endian_to_int(signature[0:32])
132132
self.s = big_endian_to_int(signature[32:64])
133133

0 commit comments

Comments
 (0)