From 268b3ea949bf07c267d7b0261b90e5cc5c2e2c1a Mon Sep 17 00:00:00 2001 From: Gav Date: Thu, 30 Aug 2018 18:25:12 +0200 Subject: [PATCH] Fix --- polkadot/runtime/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polkadot/runtime/src/lib.rs b/polkadot/runtime/src/lib.rs index 04eef28abc..5d87c34d24 100644 --- a/polkadot/runtime/src/lib.rs +++ b/polkadot/runtime/src/lib.rs @@ -148,7 +148,7 @@ impl balances::Trait for Concrete { type Balance = Balance; type AccountIndex = AccountIndex; type OnFreeBalanceZero = Staking; - type IsAccountLiquid = Staking; + type EnsureAccountLiquid = Staking; type Event = Event; } /// Staking module for this concrete runtime. @@ -403,7 +403,7 @@ mod tests { // 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 let v = Encode::encode(&tx); - assert_eq!(&v[..], &hex!["6f000000ff0101010101010101010101010101010101010101010101010101010101010101e70300000400df0f02000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"][..]); + assert_eq!(&v[..], &hex!["6f000000ff0101010101010101010101010101010101010101010101010101010101010101e70300000300df0f02000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"][..]); println!("{}", HexDisplay::from(&v)); assert_eq!(UncheckedExtrinsic::decode(&mut &v[..]).unwrap(), tx); }