mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
Convert all UK spelling to US (#2138)
* all the ise * forgot a misspelling * a few more replacements * bump impl * rollback and fixes * bump impl again * Add aliases for RPC * Update on_demand.rs
This commit is contained in:
@@ -229,7 +229,7 @@ decl_module! {
|
||||
|
||||
// Manage upgrade. Remove after all networks upgraded.
|
||||
// TODO: #2133
|
||||
fn on_initialise() {
|
||||
fn on_initialize() {
|
||||
if let Some(period) = <BlockPeriod<T>>::take() {
|
||||
if !<MinimumPeriod<T>>::exists() {
|
||||
<MinimumPeriod<T>>::put(period)
|
||||
@@ -237,7 +237,7 @@ decl_module! {
|
||||
}
|
||||
}
|
||||
|
||||
fn on_finalise() {
|
||||
fn on_finalize() {
|
||||
assert!(<Self as Store>::DidUpdate::take(), "Timestamp must be updated once in the block");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user