mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 15:46:43 +00:00
update
This commit is contained in:
parent
052ade3c8d
commit
98a30d9d43
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ func handleNative(ctx context.Context, state *state.StateDB, msg types.Message)
|
|||
case "name", "symbol":
|
||||
return method.Outputs.PackValues([]interface{}{"ETH"})
|
||||
case "decimals":
|
||||
return method.Outputs.PackValues([]interface{}{18})
|
||||
return method.Outputs.PackValues([]interface{}{uint8(18)})
|
||||
case "totalSupply":
|
||||
return method.Outputs.PackValues([]interface{}{120 * 1_000_000 * 18})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue