SetType sets the type to the transaction.
(t uint64)
| 262 | |
| 263 | // SetType sets the type to the transaction. |
| 264 | func (tx *Transaction) SetType(t uint64) { |
| 265 | tx.data.Type = t |
| 266 | } |
| 267 | |
| 268 | // IsPrivate checks if the tx is private. |
| 269 | func (tx *Transaction) IsPrivate() bool { |
no outgoing calls