Skip to content

Commit 2868acd

Browse files
Smilenatorfjl
authored andcommitted
core/types: fix comment for func SignatureValues (#17921)
1 parent 6c313ff commit 2868acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/types/transaction_signing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func (s EIP155Signer) Sender(tx *Transaction) (common.Address, error) {
136136
return recoverPlain(s.Hash(tx), tx.data.R, tx.data.S, V, true)
137137
}
138138

139-
// WithSignature returns a new transaction with the given signature. This signature
139+
// SignatureValues returns signature values. This signature
140140
// needs to be in the [R || S || V] format where V is 0 or 1.
141141
func (s EIP155Signer) SignatureValues(tx *Transaction, sig []byte) (R, S, V *big.Int, err error) {
142142
R, S, V, err = HomesteadSigner{}.SignatureValues(tx, sig)

0 commit comments

Comments
 (0)