File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ pub mod helpers {
5252 /// Creates new state with empty state root
5353 /// Used for tests.
5454 pub fn empty_top_state ( mut db : StateDB ) -> TopLevelState {
55- let mut root = H256 :: new ( ) ;
55+ let mut root = H256 :: default ( ) ;
5656 // init trie and reset root too null
5757 let _ = TrieFactory :: create ( db. as_hashdb_mut ( ) , & mut root) ;
5858
@@ -62,7 +62,7 @@ pub mod helpers {
6262 /// Creates new state with empty state root
6363 /// Used for tests.
6464 pub fn empty_top_state_with_metadata ( mut db : StateDB , params : CommonParams ) -> TopLevelState {
65- let mut root = H256 :: new ( ) ;
65+ let mut root = H256 :: default ( ) ;
6666 // init trie and reset root too null
6767 {
6868 let mut t = TrieFactory :: create ( db. as_hashdb_mut ( ) , & mut root) ;
You can’t perform that action at this time.
0 commit comments