aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi
diff options
context:
space:
mode:
authorErnesto del Toro <ernestodeltoro@users.noreply.github.com>2017-09-20 17:31:31 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-09-20 17:31:31 +0800
commit3c8656347f67dbc8e57c663ec5c26d24c4151678 (patch)
tree4008b6b9b00fd59e551260c2e0debce30f86a68c /internal/ethapi
parentb9ff44bd64b9e59806577239eb037f99aad5fff4 (diff)
downloaddexon-3c8656347f67dbc8e57c663ec5c26d24c4151678.tar.gz
dexon-3c8656347f67dbc8e57c663ec5c26d24c4151678.tar.zst
dexon-3c8656347f67dbc8e57c663ec5c26d24c4151678.zip
eth, internal/ethapi: fix spelling of 'Ethereum' (#15164)
Diffstat (limited to 'internal/ethapi')
-rw-r--r--internal/ethapi/api.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go
index 0775749e7..6eb37e684 100644
--- a/internal/ethapi/api.go
+++ b/internal/ethapi/api.go
@@ -54,7 +54,7 @@ type PublicEthereumAPI struct {
b Backend
}
-// NewPublicEthereumAPI creates a new Etheruem protocol API.
+// NewPublicEthereumAPI creates a new Ethereum protocol API.
func NewPublicEthereumAPI(b Backend) *PublicEthereumAPI {
return &PublicEthereumAPI{b}
}
@@ -448,7 +448,7 @@ type PublicBlockChainAPI struct {
b Backend
}
-// NewPublicBlockChainAPI creates a new Etheruem blockchain API.
+// NewPublicBlockChainAPI creates a new Ethereum blockchain API.
func NewPublicBlockChainAPI(b Backend) *PublicBlockChainAPI {
return &PublicBlockChainAPI{b}
}
@@ -1275,7 +1275,7 @@ func (s *PublicTransactionPoolAPI) Resend(ctx context.Context, sendArgs SendTxAr
return common.Hash{}, fmt.Errorf("Transaction %#x not found", matchTx.Hash())
}
-// PublicDebugAPI is the collection of Etheruem APIs exposed over the public
+// PublicDebugAPI is the collection of Ethereum APIs exposed over the public
// debugging endpoint.
type PublicDebugAPI struct {
b Backend
@@ -1318,7 +1318,7 @@ func (api *PublicDebugAPI) SeedHash(ctx context.Context, number uint64) (string,
return fmt.Sprintf("0x%x", ethash.SeedHash(number)), nil
}
-// PrivateDebugAPI is the collection of Etheruem APIs exposed over the private
+// PrivateDebugAPI is the collection of Ethereum APIs exposed over the private
// debugging endpoint.
type PrivateDebugAPI struct {
b Backend