Commit 714d227
Update x/evm/precompile/funtoken.go
For consistency with other call sites of `evm.ParseOOGPanic` in this pull request (e.g., in `wasm.go`, `oracle.go`), it's better to use `any` instead of `interface{}` for the panic handler's argument type. While `interface{}` is an alias for `any` in modern Go, using `any` consistently improves code readability and aligns with modern Go practices.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent 4c46606 commit 714d227
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
0 commit comments