Skip to content

Commit

Permalink
satisfy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Roznovjak committed Nov 13, 2024
1 parent 49139d4 commit 405c946
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions runtime/hydradx/src/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,7 @@ pub fn bind_pallet_account() -> Weight {
}

impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration {
#[cfg(feature = "try-runtime")]
fn pre_upgrade() -> Result<Vec<u8>, &'static str> {
Ok(vec![])
}

fn on_runtime_upgrade() -> Weight {
bind_pallet_account()
}

#[cfg(feature = "try-runtime")]
fn post_upgrade(_state: Vec<u8>) -> Result<(), &'static str> {
Ok(())
}
}

0 comments on commit 405c946

Please sign in to comment.