internal/ethapi: don't nil out activation time on current fork

This commit is contained in:
lightclient 2025-08-27 07:59:01 -06:00
parent 815a841993
commit 2ebffb9e12
No known key found for this signature in database
GPG key ID: 657913021EF45A6A
2 changed files with 1 additions and 2 deletions

View file

@ -1209,7 +1209,6 @@ func (api *BlockChainAPI) Config(ctx context.Context) (*configResponse, error) {
} }
// Nil out last if no future-fork is configured. // Nil out last if no future-fork is configured.
if resp.Next == nil { if resp.Next == nil {
resp.Current.ActivationTime = 0
resp.Last = nil resp.Last = nil
} }
return &resp, nil return &resp, nil

View file

@ -1,6 +1,6 @@
{ {
"current": { "current": {
"activationTime": 0, "activationTime": 1742999832,
"blobSchedule": { "blobSchedule": {
"target": 6, "target": 6,
"max": 9, "max": 9,