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:
parent
4fe4577b3a
commit
360047030b
|
@ -241,7 +241,9 @@ impl Treestate {
|
||||||
note_commitment_trees: NoteCommitmentTrees {
|
note_commitment_trees: NoteCommitmentTrees {
|
||||||
sprout,
|
sprout,
|
||||||
sapling,
|
sapling,
|
||||||
|
sapling_subtree: None,
|
||||||
orchard,
|
orchard,
|
||||||
|
orchard_subtree: None,
|
||||||
},
|
},
|
||||||
history_tree,
|
history_tree,
|
||||||
}
|
}
|
||||||
|
|
|
@ -224,7 +224,9 @@ impl ZebraDb {
|
||||||
NoteCommitmentTrees {
|
NoteCommitmentTrees {
|
||||||
sprout: self.sprout_tree(),
|
sprout: self.sprout_tree(),
|
||||||
sapling: self.sapling_tree(),
|
sapling: self.sapling_tree(),
|
||||||
|
sapling_subtree: None,
|
||||||
orchard: self.orchard_tree(),
|
orchard: self.orchard_tree(),
|
||||||
|
orchard_subtree: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1251,7 +1251,9 @@ impl Chain {
|
||||||
let mut nct = NoteCommitmentTrees {
|
let mut nct = NoteCommitmentTrees {
|
||||||
sprout: self.sprout_note_commitment_tree(),
|
sprout: self.sprout_note_commitment_tree(),
|
||||||
sapling: self.sapling_note_commitment_tree(),
|
sapling: self.sapling_note_commitment_tree(),
|
||||||
|
sapling_subtree: None,
|
||||||
orchard: self.orchard_note_commitment_tree(),
|
orchard: self.orchard_note_commitment_tree(),
|
||||||
|
orchard_subtree: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut tree_result = None;
|
let mut tree_result = None;
|
||||||
|
|
Loading…
Reference in New Issue