From 5fc331cc222999f4fd092425a52322e984ef0401 Mon Sep 17 00:00:00 2001 From: Roc Yu Date: Tue, 12 Feb 2019 16:44:32 +0800 Subject: [PATCH] graphql: fix typos in comments --- graphql/grahpql.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphql/grahpql.go b/graphql/grahpql.go index 1eca789567..68d36f9977 100644 --- a/graphql/grahpql.go +++ b/graphql/grahpql.go @@ -127,7 +127,7 @@ func (l *Log) Data(ctx context.Context) hexutil.Bytes { return hexutil.Bytes(l.log.Data) } -// Transactionn represents an Ethereum transaction. +// Transaction represents an Ethereum transaction. // backend and hash are mandatory; all others will be fetched when required. type Transaction struct { backend *eth.EthAPIBackend @@ -916,7 +916,7 @@ func (r *Resolver) EstimateGas(ctx context.Context, args struct { return gas, err } -// FilterCritera encapsulates the arguments to `logs` on the root resolver object. +// FilterCriteria encapsulates the arguments to `logs` on the root resolver object. type FilterCriteria struct { FromBlock *hexutil.Uint64 // beginning of the queried range, nil means genesis block ToBlock *hexutil.Uint64 // end of the range, nil means latest block