diff options
author | Ernesto del Toro <ernestodeltoro@users.noreply.github.com> | 2017-09-20 17:31:31 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-09-20 17:31:31 +0800 |
commit | 3c8656347f67dbc8e57c663ec5c26d24c4151678 (patch) | |
tree | 4008b6b9b00fd59e551260c2e0debce30f86a68c /eth | |
parent | b9ff44bd64b9e59806577239eb037f99aad5fff4 (diff) | |
download | go-tangerine-3c8656347f67dbc8e57c663ec5c26d24c4151678.tar.gz go-tangerine-3c8656347f67dbc8e57c663ec5c26d24c4151678.tar.zst go-tangerine-3c8656347f67dbc8e57c663ec5c26d24c4151678.zip |
eth, internal/ethapi: fix spelling of 'Ethereum' (#15164)
Diffstat (limited to 'eth')
-rw-r--r-- | eth/api.go | 8 | ||||
-rw-r--r-- | eth/bind.go | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/eth/api.go b/eth/api.go index a5b6e7076..d64e4e6c7 100644 --- a/eth/api.go +++ b/eth/api.go @@ -51,7 +51,7 @@ type PublicEthereumAPI struct { e *Ethereum } -// NewPublicEthereumAPI creates a new Etheruem protocol API for full nodes. +// NewPublicEthereumAPI creates a new Ethereum protocol API for full nodes. func NewPublicEthereumAPI(e *Ethereum) *PublicEthereumAPI { return &PublicEthereumAPI{e} } @@ -205,7 +205,7 @@ func (api *PrivateMinerAPI) GetHashrate() uint64 { return uint64(api.e.miner.HashRate()) } -// PrivateAdminAPI is the collection of Etheruem full node-related APIs +// PrivateAdminAPI is the collection of Ethereum full node-related APIs // exposed over the private admin endpoint. type PrivateAdminAPI struct { eth *Ethereum @@ -298,7 +298,7 @@ func (api *PrivateAdminAPI) ImportChain(file string) (bool, error) { return true, nil } -// PublicDebugAPI is the collection of Etheruem full node APIs exposed +// PublicDebugAPI is the collection of Ethereum full node APIs exposed // over the public debugging endpoint. type PublicDebugAPI struct { eth *Ethereum @@ -335,7 +335,7 @@ func (api *PublicDebugAPI) DumpBlock(blockNr rpc.BlockNumber) (state.Dump, error return stateDb.RawDump(), nil } -// PrivateDebugAPI is the collection of Etheruem full node APIs exposed over +// PrivateDebugAPI is the collection of Ethereum full node APIs exposed over // the private debugging endpoint. type PrivateDebugAPI struct { config *params.ChainConfig diff --git a/eth/bind.go b/eth/bind.go index 0385db1f9..d09977dbc 100644 --- a/eth/bind.go +++ b/eth/bind.go @@ -43,7 +43,7 @@ type ContractBackend struct { } // NewContractBackend creates a new native contract backend using an existing -// Etheruem object. +// Ethereum object. func NewContractBackend(apiBackend ethapi.Backend) *ContractBackend { return &ContractBackend{ eapi: ethapi.NewPublicEthereumAPI(apiBackend), |