Protected returns whether the transaction is protected from replay protection.
()
| 110 | |
| 111 | // Protected returns whether the transaction is protected from replay protection. |
| 112 | func (tx *Transaction) Protected() bool { |
| 113 | return isProtectedV(tx.data.V) |
| 114 | } |
| 115 | |
| 116 | func isProtectedV(V *big.Int) bool { |
| 117 | if V.BitLen() <= 8 { |