Commit 6f23404f authored by Gav's avatar Gav
Browse files

Fix

parent a25cee0a
...@@ -148,7 +148,7 @@ impl balances::Trait for Concrete { ...@@ -148,7 +148,7 @@ impl balances::Trait for Concrete {
type Balance = Balance; type Balance = Balance;
type AccountIndex = AccountIndex; type AccountIndex = AccountIndex;
type OnFreeBalanceZero = Staking; type OnFreeBalanceZero = Staking;
type IsAccountLiquid = Staking; type EnsureAccountLiquid = Staking;
type Event = Event; type Event = Event;
} }
/// Staking module for this concrete runtime. /// Staking module for this concrete runtime.
...@@ -403,7 +403,7 @@ mod tests { ...@@ -403,7 +403,7 @@ mod tests {
// 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 // 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
let v = Encode::encode(&tx); let v = Encode::encode(&tx);
assert_eq!(&v[..], &hex!["6f000000ff0101010101010101010101010101010101010101010101010101010101010101e70300000400df0f02000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"][..]); assert_eq!(&v[..], &hex!["6f000000ff0101010101010101010101010101010101010101010101010101010101010101e70300000300df0f02000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"][..]);
println!("{}", HexDisplay::from(&v)); println!("{}", HexDisplay::from(&v));
assert_eq!(UncheckedExtrinsic::decode(&mut &v[..]).unwrap(), tx); assert_eq!(UncheckedExtrinsic::decode(&mut &v[..]).unwrap(), tx);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment