mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
internal/ethapi: don't nil out activation time on current fork
This commit is contained in:
parent
815a841993
commit
2ebffb9e12
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"current": {
|
"current": {
|
||||||
"activationTime": 0,
|
"activationTime": 1742999832,
|
||||||
"blobSchedule": {
|
"blobSchedule": {
|
||||||
"target": 6,
|
"target": 6,
|
||||||
"max": 9,
|
"max": 9,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue