From 2868acd80b05e3dfca9f32c19372f22849e40eaf Mon Sep 17 00:00:00 2001 From: Smilenator Date: Tue, 16 Oct 2018 13:45:28 +0300 Subject: [PATCH] core/types: fix comment for func SignatureValues (#17921) --- core/types/transaction_signing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)