Correct db names and ports

This commit is contained in:
Louis Holbrook
2021-02-12 02:27:29 +00:00
committed by Blair Vanderlugt
parent 449cd5830e
commit 22586a04bf
7 changed files with 53 additions and 31 deletions

View File

@@ -35,6 +35,10 @@ def unpack_signed_raw_tx(tx_raw_bytes, chain_id):
if chain_id != 0:
v = int.from_bytes(d[6], 'big')
vb = v - (chain_id * 2) - 35
while len(d[7]) < 32:
d[7] = b'\x00' + d[7]
while len(d[8]) < 32:
d[8] = b'\x00' + d[8]
s = b''.join([d[7], d[8], bytes([vb])])
so = KeyAPI.Signature(signature_bytes=s)