fix build bu hiding orchard fields in `new()` behind a flag

This commit is contained in:
Alfredo Garcia 2024-03-20 15:51:39 -03:00
parent 5ef5f043f5
commit b39765cc1a
1 changed files with 2 additions and 0 deletions

View File

@ -110,8 +110,10 @@ impl MemoryWalletDb {
blocks: BTreeMap::new(),
tx_idx: HashMap::new(),
sapling_spends: BTreeMap::new(),
#[cfg(feature = "orchard")]
orchard_spends: BTreeMap::new(),
sapling_tree: ShardTree::new(MemoryShardStore::empty(), max_checkpoints),
#[cfg(feature = "orchard")]
orchard_tree: ShardTree::new(MemoryShardStore::empty(), max_checkpoints),
}
}