Improve run script and fix small binding bug on precompile template (#336)

* Add small fixes

* remove script changes
This commit is contained in:
Anusha
2022-11-02 21:45:15 -04:00
committed by GitHub
parent e863438d2a
commit 4ecdef53eb
+1 -1
View File
@@ -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: