mirror of https://github.com/poanetwork/quorum.git
Merge pull request #563 from Puneetha17/private_rawtx
Do not reset V value if the tx is already set to private
This commit is contained in:
commit
d77cb778ca
|
@ -489,6 +489,9 @@ func (tx *Transaction) IsPrivate() bool {
|
|||
}
|
||||
|
||||
func (tx *Transaction) SetPrivate() {
|
||||
if tx.IsPrivate() {
|
||||
return
|
||||
}
|
||||
if tx.data.V.Int64() == 28 {
|
||||
tx.data.V.SetUint64(38)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue