Skip to content

Commit 50e3795

Browse files
fjlkaralabe
authored andcommitted
core/types: document RawSignatureValues (#19695)
1 parent c4e8806 commit 50e3795

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎core/types/transaction.go‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,9 @@ func (tx *Transaction) Cost() *big.Int {
252252
return total
253253
}
254254

255-
func (tx *Transaction) RawSignatureValues() (*big.Int, *big.Int, *big.Int) {
255+
// RawSignatureValues returns the V, R, S signature values of the transaction.
256+
// The return values should not be modified by the caller.
257+
func (tx *Transaction) RawSignatureValues() (v, r, s *big.Int) {
256258
return tx.data.V, tx.data.R, tx.data.S
257259
}
258260

0 commit comments

Comments
 (0)