Skip to content

Commit

Permalink
fixup! Merge branch 'yuji/save-conversion-state' (#2190) * yuji/save-…
Browse files Browse the repository at this point in the history
…conversion-state: fix to restore conversion state when epoch 0 add changelog fix rollback test save conversion state only for restarting
  • Loading branch information
brentstone committed Nov 20, 2023
1 parent 082e4f8 commit 82c124a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/ledger/masp_conversions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use crate::ledger::parameters;
use crate::ledger::storage::{DBIter, StorageHasher, WlStorage, DB};
use crate::ledger::storage_api::token::read_denom;
use crate::ledger::storage_api::{StorageRead, StorageWrite};
use crate::types::address::{Address, MASP};
use crate::types::address::{tokens, Address, MASP};
use crate::types::dec::Dec;
use crate::types::storage::Epoch;
use crate::types::token;
Expand Down Expand Up @@ -213,7 +213,7 @@ where
// The derived conversions will be placed in MASP address space
let masp_addr = MASP;

let tokens = address::tokens();
let tokens = tokens();
let mut masp_reward_keys: Vec<_> = tokens
.into_keys()
.map(|k| {
Expand Down

0 comments on commit 82c124a

Please sign in to comment.