Skip to content

Commit

Permalink
Update substrate/frame/metadata-hash-extension/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Bastian Köcher <git@kchr.de>
  • Loading branch information
gui1117 and bkchr authored Aug 15, 2024
1 parent 20a74ea commit eea48de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/frame/metadata-hash-extension/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ enum MetadataHash {
Custom([u8; 32]),
}

static RUNTIME_METADATA: Option<[u8; 32]> = match option_env!("RUNTIME_METADATA_HASH") {
const RUNTIME_METADATA: Option<[u8; 32]> = match option_env!("RUNTIME_METADATA_HASH") {
Some(hex) => utils::hex_str_to_32_bytes(hex),
None => None,
};
Expand Down

0 comments on commit eea48de

Please sign in to comment.