core/types: document RawSignatureValues (#19695)

This commit is contained in:
Felix Lange 2019-06-12 09:22:34 +02:00 committed by Péter Szilágyi
parent c4e8806d9b
commit 50e3795eef

View File

@ -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
}