mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 13:39:50 +00:00
Move Council and Democracy logic to block initialization (#2806)
* s/on_finalize/on_initialize * bump impl_version
This commit is contained in:
1 parent
57afa9b440
commit
eac4ed412e
3 files changed
+3
-3
No files matched your search
@@ -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