Commit 50e3795e authored by Felix Lange's avatar Felix Lange Committed by Péter Szilágyi

core/types: document RawSignatureValues (#19695)

parent c4e8806d
...@@ -252,7 +252,9 @@ func (tx *Transaction) Cost() *big.Int { ...@@ -252,7 +252,9 @@ func (tx *Transaction) Cost() *big.Int {
return total 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 return tx.data.V, tx.data.R, tx.data.S
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment