1
0

implement script_num_to_hex. fix encoding of argument for CSV in make_commitment

This commit is contained in:
SomberNight
2018-04-13 20:14:54 +02:00
committed by ThomasV
parent caadc5a5bb
commit 98f46dbaf5
2 changed files with 2 additions and 3 deletions

View File

@@ -234,7 +234,6 @@ def script_num_to_hex(i: int) -> str:
return bh2u(result)
def var_int(i: int) -> str:
# https://en.bitcoin.it/wiki/Protocol_specification#Variable_length_integer
if i<0xfd: