mirror of
https://github.com/basicswap/basicswap.git
synced 2025-12-30 17:11:38 +01:00
Decred: Add to test_xmr_persistent
This commit is contained in:
@@ -39,7 +39,7 @@ def push_script_data(data_array: bytearray, data: bytes) -> None:
|
||||
return
|
||||
|
||||
if len_data < OP_PUSHDATA1:
|
||||
data_array += len_data.to_bytes(1)
|
||||
data_array += len_data.to_bytes(1, 'little')
|
||||
elif len_data <= 0xff:
|
||||
data_array += bytes((OP_PUSHDATA1, len_data))
|
||||
elif len_data <= 0xffff:
|
||||
|
||||
Reference in New Issue
Block a user