mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-10 22:13:47 +00:00
update
This commit is contained in:
parent
be2f92bdc7
commit
4eac03ec48
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ func handleNative(ctx context.Context, state *state.StateDB, msg types.Message)
|
||||||
case "decimals":
|
case "decimals":
|
||||||
return method.Outputs.Pack(uint8(18))
|
return method.Outputs.Pack(uint8(18))
|
||||||
case "totalSupply":
|
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" {
|
if method.Name == "balanceOf" {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue