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.
Showing
- substrate/node/cli/src/chain_spec.rs 1 addition, 0 deletionssubstrate/node/cli/src/chain_spec.rs
- substrate/node/runtime/src/lib.rs 3 additions, 3 deletionssubstrate/node/runtime/src/lib.rs
- substrate/node/testing/src/genesis.rs 1 addition, 0 deletionssubstrate/node/testing/src/genesis.rs
- substrate/srml/treasury/src/lib.rs 94 additions, 8 deletionssubstrate/srml/treasury/src/lib.rs
Please register or sign in to comment