Use i64 for amounts in Rust test vectors
This commit is contained in:
parent
3f9edde19f
commit
73b8401b9a
|
@ -156,7 +156,7 @@ def main():
|
||||||
'rust_fmt': lambda x: None if x == -1 else Some(x),
|
'rust_fmt': lambda x: None if x == -1 else Some(x),
|
||||||
}),
|
}),
|
||||||
('hash_type', 'u32'),
|
('hash_type', 'u32'),
|
||||||
('amount', 'u64'),
|
('amount', 'i64'),
|
||||||
('consensus_branch_id', 'u32'),
|
('consensus_branch_id', 'u32'),
|
||||||
('sighash', '[u8; 32]'),
|
('sighash', '[u8; 32]'),
|
||||||
),
|
),
|
||||||
|
|
|
@ -163,7 +163,7 @@ def main():
|
||||||
'rust_fmt': lambda x: None if x == -1 else Some(x),
|
'rust_fmt': lambda x: None if x == -1 else Some(x),
|
||||||
}),
|
}),
|
||||||
('hash_type', 'u32'),
|
('hash_type', 'u32'),
|
||||||
('amount', 'u64'),
|
('amount', 'i64'),
|
||||||
('consensus_branch_id', 'u32'),
|
('consensus_branch_id', 'u32'),
|
||||||
('sighash', '[u8; 32]'),
|
('sighash', '[u8; 32]'),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue