Skip to content

Commit

Permalink
fix to restore conversion state when epoch 0
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Nov 20, 2023
1 parent 7704219 commit b6b4537
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/src/ledger/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,7 @@ where
// Rebuild Merkle tree
self.block.tree = MerkleTree::new(merkle_tree_stores)
.or_else(|_| self.rebuild_full_merkle_tree(height))?;
if self.last_epoch.0 > 0 {
self.conversion_state = conversion_state;
}
self.conversion_state = conversion_state;
self.tx_queue = tx_queue;
self.ethereum_height = ethereum_height;
self.eth_events_queue = eth_events_queue;
Expand Down

0 comments on commit b6b4537

Please sign in to comment.