Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ethmonitor/ethmonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion go-ethereum/core/types/tx_setcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down