accounts/abi: Fix the last grammar comment

This commit is contained in:
Guillaume Ballet 2018-05-14 10:21:26 +02:00
parent 4566fa8660
commit 8fd7875e95

View file

@ -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] != "" {