This commit is contained in:
Greg Fitzgerald
2018-05-25 16:05:37 -06:00
parent 9f5a3d6064
commit aaeb5ba52f
11 changed files with 104 additions and 104 deletions

View File

@@ -66,9 +66,9 @@ impl Entry {
}
}
fn add_transaction_data(hash_data: &mut Vec<u8>, tr: &Transaction) {
fn add_transaction_data(hash_data: &mut Vec<u8>, tx: &Transaction) {
hash_data.push(0u8);
hash_data.extend_from_slice(&tr.sig);
hash_data.extend_from_slice(&tx.sig);
}
/// Creates the hash `num_hashes` after `start_hash`. If the transaction contains