bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness
This commit is contained in:
@@ -234,6 +234,7 @@ 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:
|
||||
|
||||
Reference in New Issue
Block a user