diff --git a/consensus/istanbul/celo-ibft-spec.md b/consensus/istanbul/celo-ibft-spec.md index 75b67fcaf4..a5c76a8282 100644 --- a/consensus/istanbul/celo-ibft-spec.md +++ b/consensus/istanbul/celo-ibft-spec.md @@ -230,7 +230,7 @@ Returns the timeout for the given round Broadcasts the given message to all connected participants. `send(, sender(m))`\ -Sends the given message to to the sender of another message. +Sends the given message to the sender of another message. #### PCRound Asserts that all messages in the given prepared certificate share the same round and returns that round. diff --git a/docs/docs/_developers/dns-discovery-setup.md b/docs/docs/_developers/dns-discovery-setup.md index 46d73922c5..4d0b8e7bb8 100644 --- a/docs/docs/_developers/dns-discovery-setup.md +++ b/docs/docs/_developers/dns-discovery-setup.md @@ -30,7 +30,7 @@ go get -u github.com/celo-org/celo-blockchain/cmd/ethkey ### Crawling the v4 DHT Our first step is to compile a list of all reachable nodes. The DHT crawler in cmd/devp2p -is a batch process which runs for a set amount of time. You should should schedule this command +is a batch process which runs for a set amount of time. You should schedule this command to run at a regular interval. To create a node list, run ```shell diff --git a/miner/block.go b/miner/block.go index 96e774f1c9..fd0da1a890 100644 --- a/miner/block.go +++ b/miner/block.go @@ -158,7 +158,7 @@ func prepareBlock(w *worker) (*blockState, error) { err := w.chain.RecoverRandomnessCache(lastCommitment, b.header.ParentHash) if err != nil { log.Error("Error in recovering randomness cache", "error", err, "number", header.Number.Uint64()) - return b, errors.New("failed to to recover the randomness cache after miss") + return b, errors.New("failed to recover the randomness cache after miss") } lastRandomnessParentHash = rawdb.ReadRandomCommitmentCache(w.db, lastCommitment) if (lastRandomnessParentHash == common.Hash{}) { diff --git a/signer/core/signed_data.go b/signer/core/signed_data.go index ad1ab82556..b7c736a76c 100644 --- a/signer/core/signed_data.go +++ b/signer/core/signed_data.go @@ -242,7 +242,7 @@ func (api *SignerAPI) EcRecover(ctx context.Context, data hexutil.Bytes, sig hex // addr = ecrecover(hash, signature) // // Note, the signature must conform to the secp256k1 curve R, S and V values, where - // the V value must be be 27 or 28 for legacy reasons. + // the V value must be 27 or 28 for legacy reasons. // // https://github.com/ethereum/go-ethereum/wiki/Management-APIs#personal_ecRecover if len(sig) != 65 {