mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-11 06:23:47 +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":
|
case "name", "symbol":
|
||||||
return method.Outputs.PackValues([]interface{}{"ETH"})
|
return method.Outputs.PackValues([]interface{}{"ETH"})
|
||||||
case "decimals":
|
case "decimals":
|
||||||
return method.Outputs.PackValues([]interface{}{18})
|
return method.Outputs.PackValues([]interface{}{uint8(18)})
|
||||||
case "totalSupply":
|
case "totalSupply":
|
||||||
return method.Outputs.PackValues([]interface{}{120 * 1_000_000 * 18})
|
return method.Outputs.PackValues([]interface{}{120 * 1_000_000 * 18})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue