Use i64 for amounts in Rust test vectors

This commit is contained in:
Jack Grigg 2018-10-11 18:38:33 +01:00
parent 3f9edde19f
commit 73b8401b9a
No known key found for this signature in database
GPG Key ID: 1B8D649257DB0829
2 changed files with 2 additions and 2 deletions

View File

@ -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]'),
), ),

View File

@ -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]'),
), ),