mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
accounts/abi: Fix the last grammar comment
This commit is contained in:
parent
4566fa8660
commit
8fd7875e95
1 changed files with 2 additions and 2 deletions
|
|
@ -177,8 +177,8 @@ func mapAbiToStructFields(args Arguments, value reflect.Value) (map[string]strin
|
||||||
return nil, fmt.Errorf("abi: purely underscored output cannot unpack to struct")
|
return nil, fmt.Errorf("abi: purely underscored output cannot unpack to struct")
|
||||||
}
|
}
|
||||||
|
|
||||||
// this abi has already been paired, skip... unless exists another not still assigned
|
// this abi has already been paired, skip it... unless there exists another, yet unassigned
|
||||||
// struct field with the same field name, in the case raise an error:
|
// struct field with the same field name. If so, raise an error:
|
||||||
// abi: [ { "name": "value" } ]
|
// abi: [ { "name": "value" } ]
|
||||||
// struct { Value *big.Int , Value1 *big.Int `abi:"value"`}
|
// struct { Value *big.Int , Value1 *big.Int `abi:"value"`}
|
||||||
if abi2struct[abiFieldName] != "" {
|
if abi2struct[abiFieldName] != "" {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue