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.
if resp.Next == nil {
resp.Current.ActivationTime = 0
resp.Last = nil
}
return &resp, nil

View file

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