Skip to content

Commit

Permalink
enable fast node
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Nov 26, 2024
1 parent c0b2ecf commit c6f0f6a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions erigon-lib/state/domain_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -1411,9 +1411,6 @@ func _decodeTxBlockNums(v []byte) (txNum, blockNum uint64) {
// LatestCommitmentState searches for last encoded state for CommitmentContext.
// Found value does not become current state.
func (sdc *SharedDomainsCommitmentContext) LatestCommitmentState() (blockNum, txNum uint64, state []byte, err error) {
if dbg.DiscardCommitment() {
return 0, 0, nil, nil
}
if sdc.patriciaTrie.Variant() != commitment.VariantHexPatriciaTrie {
return 0, 0, nil, fmt.Errorf("state storing is only supported hex patricia trie")
}
Expand Down

0 comments on commit c6f0f6a

Please sign in to comment.