mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
Improve run script and fix small binding bug on precompile template (#336)
* Add small fixes * remove script changes
This commit is contained in:
@@ -658,7 +658,7 @@ func decapitalise(input string) string {
|
||||
func convertToNil(input abi.Type) string {
|
||||
switch input.T {
|
||||
case abi.IntTy, abi.UintTy:
|
||||
return "0"
|
||||
return "big.NewInt(0)"
|
||||
case abi.StringTy:
|
||||
return "\"\""
|
||||
case abi.BoolTy:
|
||||
|
||||
Reference in New Issue
Block a user