Skip to content

Commit

Permalink
set eth root hash when init eth state
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitprincess committed Dec 5, 2023
1 parent 4217719 commit 90630e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions state/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func (sdb *ChainStateDB) Init(dbType string, dataDir string, bestBlock *types.Bl
if err != nil {
return err
}
sdb.EvmRootHash = sdb.ethStore.GetEthRoot()
}
return nil
}
Expand Down

0 comments on commit 90630e2

Please sign in to comment.