Skip to content

Commit

Permalink
update experiment
Browse files Browse the repository at this point in the history
Signed-off-by: lovesh <[email protected]>
  • Loading branch information
lovesh committed Mar 13, 2020
1 parent 0c06341 commit c7f18d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion runtime/src/did.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,10 @@ impl<T: Trait> Module<T> {
);

let h = StateChange::hash();
Bh::insert(did, h);
//let g = <Module<T>>::block_hash(T::BlockNumber::from(0));
let g = <system::Module<T>>::block_hash(T::BlockNumber::from(0));
let b = g.as_ref().clone();
Bh::insert(did, b.to_vec());
Ok(current_key_detail)
}

Expand Down

0 comments on commit c7f18d2

Please sign in to comment.