mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
argument type and name were reversed
This commit is contained in:
parent
97fb08342d
commit
ad6e7a377d
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ func (method Method) Sig() string {
|
||||||
func (method Method) String() string {
|
func (method Method) String() string {
|
||||||
inputs := make([]string, len(method.Inputs))
|
inputs := make([]string, len(method.Inputs))
|
||||||
for i, input := range method.Inputs {
|
for i, input := range method.Inputs {
|
||||||
inputs[i] = fmt.Sprintf("%v %v", input.Name, input.Type)
|
inputs[i] = fmt.Sprintf("%v %v", input.Type, input.Name)
|
||||||
}
|
}
|
||||||
outputs := make([]string, len(method.Outputs))
|
outputs := make([]string, len(method.Outputs))
|
||||||
for i, output := range method.Outputs {
|
for i, output := range method.Outputs {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue