Skip to content

Commit

Permalink
Remove deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed Jul 3, 2023
1 parent d705118 commit 169b8e5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions libs/substrate-runtime-proposal-hash/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,6 @@ pub fn get_result(prefix: Prefix, buffer: &[u8]) -> Result<SrhResult> {
})
}

/// Calculate the proposal hash
///
/// # Arguments
/// * `wasm_blob` - The WASM blob
/// # Returns
/// * `CalllHash` - The hash of the proposal as calculated on chain
/// @deprecated
pub fn get_proposal_hash(wasm_blob: &[u8]) -> Result<CalllHash> {
get_call_hash(PREFIX_SYSTEM_SETCODE, wasm_blob)
}

/// Calculate the proposal hash which is system.setCode
///
/// # Arguments
Expand Down

0 comments on commit 169b8e5

Please sign in to comment.