aboutsummaryrefslogtreecommitdiffstats
path: root/graphql
diff options
context:
space:
mode:
authorRoc Yu <rociiu0112@gmail.com>2019-02-26 19:19:43 +0800
committerGuillaume Ballet <gballet@gmail.com>2019-02-26 19:19:43 +0800
commitc2b33a117f686069e36d58d937e1c75d72d7b94c (patch)
tree9c506c506ffd101faafe863980afc7683299e705 /graphql
parenta42afa766c30de484a8b86419995ac90a53f0272 (diff)
downloadgo-tangerine-c2b33a117f686069e36d58d937e1c75d72d7b94c.tar
go-tangerine-c2b33a117f686069e36d58d937e1c75d72d7b94c.tar.gz
go-tangerine-c2b33a117f686069e36d58d937e1c75d72d7b94c.tar.bz2
go-tangerine-c2b33a117f686069e36d58d937e1c75d72d7b94c.tar.lz
go-tangerine-c2b33a117f686069e36d58d937e1c75d72d7b94c.tar.xz
go-tangerine-c2b33a117f686069e36d58d937e1c75d72d7b94c.tar.zst
go-tangerine-c2b33a117f686069e36d58d937e1c75d72d7b94c.zip
graphql: fix typos in comments (#19041)
Diffstat (limited to 'graphql')
-rw-r--r--graphql/grahpql.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphql/grahpql.go b/graphql/grahpql.go
index 1eca78956..68d36f997 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