aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSmilenator <yurivanenko@yandex.ru>2018-10-16 18:45:28 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-10-16 18:45:28 +0800
commit2868acd80b05e3dfca9f32c19372f22849e40eaf (patch)
tree408a118e0b1d9eb94dedce3e2db324ca2e61255c
parent6c313fff7bd7c1935d3193986df4c084b2e34c1c (diff)
downloaddexon-2868acd80b05e3dfca9f32c19372f22849e40eaf.tar.gz
dexon-2868acd80b05e3dfca9f32c19372f22849e40eaf.tar.zst
dexon-2868acd80b05e3dfca9f32c19372f22849e40eaf.zip
core/types: fix comment for func SignatureValues (#17921)
-rw-r--r--core/types/transaction_signing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/types/transaction_signing.go b/core/types/transaction_signing.go
index 1997755dc..63132048e 100644
--- a/core/types/transaction_signing.go
+++ b/core/types/transaction_signing.go
@@ -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)
}
-// 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.
func (s EIP155Signer) SignatureValues(tx *Transaction, sig []byte) (R, S, V *big.Int, err error) {
R, S, V, err = HomesteadSigner{}.SignatureValues(tx, sig)