Use new AccountInfo struct for "System Account" storage data (#71)

* Add AccountInfo struct for "System Account" data

* Fmt

* Simplify AccountInfo struct constraints
This commit is contained in:
Andrew Jones
2020-02-25 17:18:10 +00:00
committed by GitHub
parent b7565ff435
commit dcc6b91d10
6 changed files with 75 additions and 43 deletions
+1 -4
View File
@@ -160,10 +160,7 @@ mod tests {
type AccountId = <Runtime as System>::AccountId;
async fn put_code<T, P, S>(
client: &Client<T, S>,
signer: P,
) -> Result<T::Hash, Error>
async fn put_code<T, P, S>(client: &Client<T, S>, signer: P) -> Result<T::Hash, Error>
where
T: System + Balances + Send + Sync,
T::Address: From<T::AccountId>,