Skip to content

Commit

Permalink
Update core/block_validator.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ignacio Hagopian <[email protected]>
  • Loading branch information
gballet and jsign authored May 3, 2024
1 parent 071e2af commit eb32adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/block_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (v *BlockValidator) ValidateState(block *types.Block, statedb *state.StateD
return fmt.Errorf("invalid merkle root (remote: %x local: %x) dberr: %w", header.Root, root, statedb.Error())
}
// Verify that the advertised root is correct before
// it can be usedas an identifier for the conversion
// it can be used as an identifier for the conversion
// status.
statedb.Database().SaveTransitionState(header.Root)
return nil
Expand Down

0 comments on commit eb32adc

Please sign in to comment.