mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core/types: document RawSignatureValues
This commit is contained in:
parent
c0a034ec89
commit
616f96e512
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue