Skip to content

Commit

Permalink
switch hasher to blake2_128_concat
Browse files Browse the repository at this point in the history
  • Loading branch information
apopiak committed Mar 4, 2020
1 parent e4074e6 commit 431608a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ decl_storage! {
ShareSupply get(fn share_supply): u64;
Shares get(fn shares): Vec<(T::AccountId, u64)>;

Balance get(fn get_balance): map hasher(blake2_256) T::AccountId => Coins;
Balance get(fn get_balance): map hasher(blake2_128_concat) T::AccountId => Coins;
CoinSupply get(fn coin_supply): Coins;

// TODO: limit the maximum bond size
Expand Down

0 comments on commit 431608a

Please sign in to comment.