Skip to content

Commit 0830116

Browse files
committed
fix solc sig
1 parent 817b6ea commit 0830116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/convert/solc_sig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func getSignatureFromInterface(_interface string) (_4BytesSig string, hash commo
5454

5555
fmt.Println(_interface)
5656

57-
if !regexp.MustCompile(`^\w+\s*\(.+\)$`).MatchString(_interface) {
57+
if !regexp.MustCompile(`^\w+\s*\(.*\)$`).MatchString(_interface) {
5858
err = fmt.Errorf("invalid EVM method/event interface, require format: `methodName(...)`")
5959
return
6060
}

0 commit comments

Comments
 (0)