Commit e08d300c authored by Andrew Jones's avatar Andrew Jones

Rename to get_runtime_storage

parent 779cef21
......@@ -87,7 +87,7 @@ pub fn get_storage(key: &[u8]) -> RetCode {
unsafe { sys::ext_get_storage(key.as_ptr() as u32) }.into()
}
pub fn runtime_get_storage(key: &[u8]) -> RetCode {
pub fn get_runtime_storage(key: &[u8]) -> RetCode {
unsafe { sys::ext_get_runtime_storage(key.as_ptr() as u32, key.len() as u32) }.into()
}
......
......@@ -419,7 +419,7 @@ where
I: AsMut<[u8]> + EnlargeTo,
R: scale::Decode,
{
let ret = ext::runtime_get_storage(key);
let ret = ext::get_runtime_storage(key);
if !ret.is_success() {
return Err(Error::InvalidStorageKey)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment