Skip to content

Commit

Permalink
ethreceipts: update min block retention setting
Browse files Browse the repository at this point in the history
  • Loading branch information
pkieltyka committed Mar 16, 2024
1 parent 81ba56a commit e61a601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethreceipts/ethreceipts.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func NewReceiptsListener(log logger.Logger, provider ethrpc.Interface, monitor *
return nil, fmt.Errorf("ethreceipts: ReceiptsListener needs a monitor with WithLogs enabled to function")
}

minBlockRetentionLimit := 400
minBlockRetentionLimit := 50
if monitor.Options().BlockRetentionLimit < minBlockRetentionLimit {
return nil, fmt.Errorf("ethreceipts: monitor options BlockRetentionLimit must be at least %d", minBlockRetentionLimit)
}
Expand Down

0 comments on commit e61a601

Please sign in to comment.