diff options
author | Felix Lange <fjl@twurst.com> | 2019-06-12 15:22:34 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-06-12 15:22:33 +0800 |
commit | 50e3795eef884ce8c5ae41ee31c7a4fa40196755 (patch) | |
tree | 3f2c1ffcf87f92865f59af145dd894765fdf08ca | |
parent | c4e8806d9be01f2ab7a161bc30a33955800c8238 (diff) | |
download | go-tangerine-50e3795eef884ce8c5ae41ee31c7a4fa40196755.tar.gz go-tangerine-50e3795eef884ce8c5ae41ee31c7a4fa40196755.tar.zst go-tangerine-50e3795eef884ce8c5ae41ee31c7a4fa40196755.zip |
core/types: document RawSignatureValues (#19695)
-rw-r--r-- | core/types/transaction.go | 4 |
1 files changed, 3 insertions, 1 deletions
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 } |