Skip to content

Commit

Permalink
core/types: document RawSignatureValues (#19695)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl authored and karalabe committed Jun 12, 2019
1 parent c4e8806 commit 50e3795
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/types/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

2 comments on commit 50e3795

@sm1thbr3n
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

core types: document Raw Signature Values (#1965]

@sm1thbr3n
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

edited: core/types: document Raw Signature Values (1965)

Please sign in to comment.