Skip to content

Commit

Permalink
Merge branch 'develop' into denny_fix_eth_relay_backing_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hackfisher committed Mar 10, 2020
2 parents c974aac + 24d6317 commit c84d73c
Show file tree
Hide file tree
Showing 3 changed files with 671 additions and 612 deletions.
7 changes: 3 additions & 4 deletions frame/balances/kton/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,9 @@ decl_storage! {
)
}
for &(ref who, free_kton) in config.balances.iter() {
T::AccountStore::insert(who, AccountData {
free_kton,
..Default::default()
});
let mut account_data = T::AccountStore::get(who);
account_data.free_kton = free_kton;
T::AccountStore::insert(who, account_data);
}
});
}
Expand Down
7 changes: 3 additions & 4 deletions frame/balances/ring/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,9 @@ decl_storage! {
)
}
for &(ref who, free_ring) in config.balances.iter() {
T::AccountStore::insert(who, AccountData {
free_ring,
..Default::default()
});
let mut account_data = T::AccountStore::get(who);
account_data.free_ring = free_ring;
T::AccountStore::insert(who, account_data);
}
});
}
Expand Down
Loading

0 comments on commit c84d73c

Please sign in to comment.