Storage root for Ext.

This commit is contained in:
Gav
2018-01-30 19:21:54 +01:00
parent 06817aed51
commit 426486617a
5 changed files with 25 additions and 9 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ pub trait Externalities {
fn chain_id(&self) -> u64;
/// Get the trie root of the current storage map.
fn commit(&self) -> [u8; 32];
fn storage_root(&self) -> [u8; 32];
/// Get the current set of authorities from storage.
fn authorities(&self) -> Result<Vec<&[u8]>, ExternalitiesError> {