diff --git a/ethmonitor/ethmonitor.go b/ethmonitor/ethmonitor.go index cfbfb281..d3268e0f 100644 --- a/ethmonitor/ethmonitor.go +++ b/ethmonitor/ethmonitor.go @@ -1134,8 +1134,9 @@ func (m *Monitor) GetBlock(blockHash common.Hash) *Block { return m.chain.GetBlock(blockHash) } -// GetBlock will search within the retained canonical chain for the txn hash. Passing `optMined true` -// will only return transaction which have not been removed from the chain via a reorg. +// GetTransaction will search within the retained canonical chain for the txn hash. Passing +// `optMined true` will only return transaction which have not been removed from the chain +// via a reorg. func (m *Monitor) GetTransaction(txnHash common.Hash) (*types.Transaction, Event) { return m.chain.GetTransaction(txnHash) } diff --git a/go-ethereum/core/types/tx_setcode.go b/go-ethereum/core/types/tx_setcode.go index 06ada5a1..495dc8c4 100644 --- a/go-ethereum/core/types/tx_setcode.go +++ b/go-ethereum/core/types/tx_setcode.go @@ -111,7 +111,7 @@ func (a *SetCodeAuthorization) sigHash() common.Hash { }) } -// Authority recovers the the authorizing account of an authorization. +// Authority recovers the authorizing account of an authorization. func (a *SetCodeAuthorization) Authority() (common.Address, error) { sighash := a.sigHash() if !crypto.ValidateSignatureValues(a.V, a.R.ToBig(), a.S.ToBig(), true) {