Temporarily populate new subtree fields with None - for revert

This temporary commit needs to be reverted in the next PR.
This commit is contained in:
teor 2023-08-23 10:07:46 +10:00
parent 4fe4577b3a
commit 360047030b
3 changed files with 6 additions and 0 deletions

View File

@ -241,7 +241,9 @@ impl Treestate {
note_commitment_trees: NoteCommitmentTrees {
sprout,
sapling,
sapling_subtree: None,
orchard,
orchard_subtree: None,
},
history_tree,
}

View File

@ -224,7 +224,9 @@ impl ZebraDb {
NoteCommitmentTrees {
sprout: self.sprout_tree(),
sapling: self.sapling_tree(),
sapling_subtree: None,
orchard: self.orchard_tree(),
orchard_subtree: None,
}
}
}

View File

@ -1251,7 +1251,9 @@ impl Chain {
let mut nct = NoteCommitmentTrees {
sprout: self.sprout_note_commitment_tree(),
sapling: self.sapling_note_commitment_tree(),
sapling_subtree: None,
orchard: self.orchard_note_commitment_tree(),
orchard_subtree: None,
};
let mut tree_result = None;