diff options
author | Wenbiao Zheng <delweng@gmail.com> | 2018-08-27 16:49:29 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-08-27 16:49:29 +0800 |
commit | d1aa605f1e8639769cdd75bcec3064c29a62b34a (patch) | |
tree | 84d7aba82d7365ca736afa52b66ef100d117afca /core | |
parent | 70398d300d4da97c89f96f5c9629caa327de5c39 (diff) | |
download | dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.gz dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.bz2 dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.lz dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.xz dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.zst dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.zip |
all: remove the duplicate 'the' in annotations (#17509)
Diffstat (limited to 'core')
-rw-r--r-- | core/block_validator.go | 2 | ||||
-rw-r--r-- | core/state_processor.go | 2 | ||||
-rw-r--r-- | core/vm/contract.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/block_validator.go b/core/block_validator.go index 98958809b..ecd6a89bc 100644 --- a/core/block_validator.go +++ b/core/block_validator.go @@ -45,7 +45,7 @@ func NewBlockValidator(config *params.ChainConfig, blockchain *BlockChain, engin return validator } -// ValidateBody validates the given block's uncles and verifies the the block +// ValidateBody validates the given block's uncles and verifies the block // header's transaction and uncle roots. The headers are assumed to be already // validated at this point. func (v *BlockValidator) ValidateBody(block *types.Block) error { diff --git a/core/state_processor.go b/core/state_processor.go index 8e238ce1f..1a91a57ab 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -61,7 +61,7 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg allLogs []*types.Log gp = new(GasPool).AddGas(block.GasLimit()) ) - // Mutate the the block and state according to any hard-fork specs + // Mutate the block and state according to any hard-fork specs if p.config.DAOForkSupport && p.config.DAOForkBlock != nil && p.config.DAOForkBlock.Cmp(block.Number()) == 0 { misc.ApplyDAOHardFork(statedb) } diff --git a/core/vm/contract.go b/core/vm/contract.go index b466681db..26bca6895 100644 --- a/core/vm/contract.go +++ b/core/vm/contract.go @@ -40,7 +40,7 @@ type AccountRef common.Address func (ar AccountRef) Address() common.Address { return (common.Address)(ar) } // Contract represents an ethereum contract in the state database. It contains -// the the contract code, calling arguments. Contract implements ContractRef +// the contract code, calling arguments. Contract implements ContractRef type Contract struct { // CallerAddress is the result of the caller which initialised this // contract. However when the "call method" is delegated this value |