From 50e3795eef884ce8c5ae41ee31c7a4fa40196755 Mon Sep 17 00:00:00 2001
From: Felix Lange <fjl@twurst.com>
Date: Wed, 12 Jun 2019 09:22:34 +0200
Subject: [PATCH] core/types: document RawSignatureValues (#19695)

---
 core/types/transaction.go | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/core/types/transaction.go b/core/types/transaction.go
index ba3d5de91..3eb8df0ac 100644
--- a/core/types/transaction.go
+++ b/core/types/transaction.go
@@ -252,7 +252,9 @@ func (tx *Transaction) Cost() *big.Int {
 	return total
 }
 
-func (tx *Transaction) RawSignatureValues() (*big.Int, *big.Int, *big.Int) {
+// RawSignatureValues returns the V, R, S signature values of the transaction.
+// The return values should not be modified by the caller.
+func (tx *Transaction) RawSignatureValues() (v, r, s *big.Int) {
 	return tx.data.V, tx.data.R, tx.data.S
 }
 
-- 
GitLab