Commit to number of Sapling transactions instead of shielded transactions

This commit is contained in:
Jack Grigg
2020-03-04 15:33:23 +13:00
parent fc247fc898
commit cafbe61eba
4 changed files with 11 additions and 11 deletions

View File

@@ -165,7 +165,7 @@ fn append() {
subtree_total_work: Default::default(),
start_height: 10,
end_height: 10,
shielded_tx: 13,
sapling_tx: 13,
};
new_node
.write(&mut &mut new_node_data[..])
@@ -200,7 +200,7 @@ fn append() {
// this is combined new node (which is `new_node_1`) + the one which was there before (for block #9)
assert_eq!(new_node_2.start_height, 9);
assert_eq!(new_node_2.end_height, 10);
assert_eq!(new_node_2.shielded_tx, 27);
assert_eq!(new_node_2.sapling_tx, 27);
}
#[test]