mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 17:38:02 +00:00
Move Council and Democracy logic to block initialization (#2806)
* s/on_finalize/on_initialize * bump impl_version
This commit is contained in:
committed by
Gavin Wood
parent
57afa9b440
commit
eac4ed412e
@@ -485,7 +485,7 @@ decl_module! {
|
||||
}
|
||||
}
|
||||
|
||||
fn on_finalize(n: T::BlockNumber) {
|
||||
fn on_initialize(n: T::BlockNumber) {
|
||||
if let Err(e) = Self::end_block(n) {
|
||||
runtime_io::print(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user