Skip to content

Commit

Permalink
Now load conversions from storage even for epoch 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Murisi Tarusenga authored and juped committed Mar 27, 2023
1 parent a4539f9 commit 4f53105
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 @@ -379,7 +379,7 @@ where
self.next_epoch_min_start_height = next_epoch_min_start_height;
self.next_epoch_min_start_time = next_epoch_min_start_time;
self.address_gen = address_gen;
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 4f53105

Please sign in to comment.