Skip to content

Commit

Permalink
Merge branch 'murisi/conversion-loading-fix' (#1244) into maint-0.14
Browse files Browse the repository at this point in the history
* murisi/conversion-loading-fix:
  Now load conversions from storage even for epoch 1.
  • Loading branch information
juped committed Mar 27, 2023
2 parents 37e053d + 4f53105 commit f351c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/ledger/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ where
// Rebuild Merkle tree
self.block.tree = MerkleTree::new(merkle_tree_stores)
.or_else(|_| self.get_merkle_tree(height))?;
if self.last_epoch.0 > 1 {
if self.last_epoch.0 > 0 {
// The derived conversions will be placed in MASP address space
let masp_addr = masp();
let key_prefix: Key = masp_addr.to_db_key().into();
Expand Down

0 comments on commit f351c47

Please sign in to comment.