Skip to content

Commit

Permalink
Revert "vochain: InitChain now calls app.SetChainID"
Browse files Browse the repository at this point in the history
This reverts commit 8709a6f.

processID uses state.ChainID to calculate pid, see
#1149
  • Loading branch information
altergui committed Oct 17, 2023
1 parent cc4cd68 commit b324e0c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vochain/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,6 @@ func (app *BaseApplication) InitChain(_ context.Context,
if err != nil {
return nil, fmt.Errorf("cannot unmarshal app state bytes: %w", err)
}
// set ChainID for app & state
app.SetChainID(req.ChainId)
// create accounts
for _, acc := range genesisAppState.Accounts {
addr := ethcommon.BytesToAddress(acc.Address)
Expand Down

0 comments on commit b324e0c

Please sign in to comment.