mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
core/types: add comment on Homestead signer
This commit is contained in:
parent
2fe36ecb3d
commit
13c5b1149b
1 changed files with 3 additions and 2 deletions
|
|
@ -375,8 +375,9 @@ func (s EIP155Signer) Hash(tx *Transaction) common.Hash {
|
|||
return tx.inner.sigHash(s.chainId)
|
||||
}
|
||||
|
||||
// HomesteadSigner implements Signer using the homestead rules.
|
||||
// Deprecated: always use the Signer interface type
|
||||
// HomesteadSigner implements Signer using the homestead rules. The only valid reason to
|
||||
// use this type is creating legacy transactions which are intentionally not
|
||||
// replay-protected.
|
||||
type HomesteadSigner struct{ FrontierSigner }
|
||||
|
||||
func (hs HomesteadSigner) ChainID() *big.Int {
|
||||
|
|
|
|||
Loading…
Reference in a new issue