Fix treasury kept and spend when emptied (#3880)

* Now construct_runtime must include treasury config so account is created at genesis.
* if it doesn't though it is ok, account will be created when the amount put is more than existential deposit.
This commit is contained in:
thiolliere
2019-10-24 17:26:26 +02:00
committed by GitHub
parent 743a34bc1d
commit d49c36428d
4 changed files with 100 additions and 12 deletions
+1
View File
@@ -96,5 +96,6 @@ pub fn config(support_changes_trie: bool, code: Option<&[u8]>) -> GenesisConfig
membership_Instance1: Some(Default::default()),
elections_phragmen: Some(Default::default()),
sudo: Some(Default::default()),
treasury: Some(Default::default()),
}
}