Skip to content

Commit

Permalink
fix: Use json-compatible structure for MoveInstantaneousRewardsCert
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Jan 17, 2022
1 parent 83896b5 commit 34766ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/framework.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{collections::BTreeMap, fmt::Display};
use std::fmt::Display;

use merge::Merge;

Expand Down Expand Up @@ -221,7 +221,7 @@ pub enum EventData {
MoveInstantaneousRewardsCert {
from_reserves: bool,
from_treasury: bool,
to_stake_credentials: Option<BTreeMap<StakeCredential, i64>>,
to_stake_credentials: Option<Vec<(StakeCredential, i64)>>,
to_other_pot: Option<u64>,
},
RollBack {
Expand Down

0 comments on commit 34766ce

Please sign in to comment.