HomeSource World

accounts/abi/bind: add void if no return args specified (#21002)

Authored by Marius van der Wijden <m.vanderwijden@live.de> on Thu, May 7, 7:24 AM.

Description

accounts/abi/bind: add void if no return args specified (#21002)

  • accounts/abi/bind: add void if no return args specified

Currently the java generator generates invalid input on pure/view functions
that have no return type. e.g. function f(uint u) view public {}
This is not a problem in practice as people rarely ever write functions like this.

  • accounts/abi/bind: use elseif instead of nested if

Details

Committed
GitHub <noreply@github.com>Thu, May 7, 7:24 AM
Parents
rGETH85944c25619d: core/state/snapshot: fix typo (#21037)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGETHdd88bd82c945: accounts/abi/bind: add void if no return args specified (#21002) (authored by Marius van der Wijden <m.vanderwijden@live.de>).Thu, May 7, 7:24 AM