Add command to create genesis accounts (#5343)

This commit is contained in:
Jack May
2019-07-30 23:43:12 -07:00
committed by GitHub
parent bd7e269280
commit 6d7cb23c61
10 changed files with 402 additions and 279 deletions

View File

@@ -26,7 +26,7 @@ pub struct DataStore {
impl DataStore {
/// Creates a new `DataStore` with the provided initial data.
pub fn new(data: IndexMap<AccessPath, Vec<u8>>) -> Self {
DataStore { data }
Self { data }
}
/// Applies a [`WriteSet`] to this data store.