Skip to content

Commit

Permalink
discard commitment
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Dec 10, 2024
1 parent 0b019b3 commit 553f649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erigon-lib/state/domain_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ func (sd *SharedDomains) SeekCommitment(ctx context.Context, tx kv.Tx) (txsFromB
return 0, err
}
if dbg.DiscardCommitment() && bn == 0 {
txn = sd.aggTx.EndTxNumNoCommitment()
txn = sd.aggTx.EndTxNumNoCommitment() - 1
sd.SetBlockNum(bn)
sd.SetTxNum(txn)
return 0, nil
Expand Down

0 comments on commit 553f649

Please sign in to comment.