From 4eac03ec488d33e8ad09eae72c051485da7f768e Mon Sep 17 00:00:00 2001 From: brion Date: Tue, 20 Dec 2022 17:06:00 +0800 Subject: [PATCH] update --- internal/ethapi/api_multicall.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/api_multicall.go b/internal/ethapi/api_multicall.go index 31f8e6b156..ca30f1dd5d 100644 --- a/internal/ethapi/api_multicall.go +++ b/internal/ethapi/api_multicall.go @@ -147,7 +147,7 @@ func handleNative(ctx context.Context, state *state.StateDB, msg types.Message) case "decimals": return method.Outputs.Pack(uint8(18)) case "totalSupply": - return method.Outputs.Pack(big.NewInt(120 * 1_000_000 * 18)) + return method.Outputs.Pack(big.NewInt(1_000_000_000_000_000_000)) // 1 ETH } if method.Name == "balanceOf" {