From 6537ab5dd3459b4570d5157b702d2ec5f5aadb2e Mon Sep 17 00:00:00 2001 From: Jeremy Schlatter Date: Fri, 28 Dec 2018 17:58:03 -0800 Subject: core/types: update incorrect comment --- core/types/transaction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/types') diff --git a/core/types/transaction.go b/core/types/transaction.go index 7b53cac2c..ba3d5de91 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -234,7 +234,7 @@ func (tx *Transaction) AsMessage(s Signer) (Message, error) { } // WithSignature returns a new transaction with the given signature. -// This signature needs to be formatted as described in the yellow paper (v+27). +// This signature needs to be in the [R || S || V] format where V is 0 or 1. func (tx *Transaction) WithSignature(signer Signer, sig []byte) (*Transaction, error) { r, s, v, err := signer.SignatureValues(tx, sig) if err != nil { -- cgit v1.2.3