From 4f5310542cd917317c5871772ae2979a0035e17a Mon Sep 17 00:00:00 2001 From: Murisi Tarusenga Date: Thu, 23 Mar 2023 08:38:58 +0200 Subject: [PATCH] Now load conversions from storage even for epoch 1. --- core/src/ledger/storage/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/ledger/storage/mod.rs b/core/src/ledger/storage/mod.rs index 0ddbc600c5..c9c4f95449 100644 --- a/core/src/ledger/storage/mod.rs +++ b/core/src/ledger/storage/mod.rs @@ -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();