mirror of https://github.com/status-im/op-geth.git
core/types: fix comment for func SignatureValues (#17921)
This commit is contained in:
parent
6c313fff7b
commit
2868acd80b
|
@ -136,7 +136,7 @@ func (s EIP155Signer) Sender(tx *Transaction) (common.Address, error) {
|
||||||
return recoverPlain(s.Hash(tx), tx.data.R, tx.data.S, V, true)
|
return recoverPlain(s.Hash(tx), tx.data.R, tx.data.S, V, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithSignature returns a new transaction with the given signature. This signature
|
// SignatureValues returns signature values. This signature
|
||||||
// needs to be in the [R || S || V] format where V is 0 or 1.
|
// needs to be in the [R || S || V] format where V is 0 or 1.
|
||||||
func (s EIP155Signer) SignatureValues(tx *Transaction, sig []byte) (R, S, V *big.Int, err error) {
|
func (s EIP155Signer) SignatureValues(tx *Transaction, sig []byte) (R, S, V *big.Int, err error) {
|
||||||
R, S, V, err = HomesteadSigner{}.SignatureValues(tx, sig)
|
R, S, V, err = HomesteadSigner{}.SignatureValues(tx, sig)
|
||||||
|
|
Loading…
Reference in New Issue