cmd/evm: fix Env struct json tag (#28635)

This commit is contained in:
ddl
2023-12-04 11:52:55 +02:00
committed by GitHub
parent 5fb8ebc9ec
commit 6e488c2449
+1 -1
View File
@@ -88,7 +88,7 @@ type Env struct {
CurrentTimestamp uint64 `json:"currentTimestamp"`
Withdrawals []*Withdrawal `json:"withdrawals"`
// optional
CurrentDifficulty *big.Int `json:"currentDifficuly"`
CurrentDifficulty *big.Int `json:"currentDifficulty"`
CurrentRandom *big.Int `json:"currentRandom"`
CurrentBaseFee *big.Int `json:"currentBaseFee"`
ParentDifficulty *big.Int `json:"parentDifficulty"`