CheckType checks the transaction's type.
(t uint64)
| 257 | |
| 258 | // CheckType checks the transaction's type. |
| 259 | func (tx *Transaction) CheckType(t uint64) bool { |
| 260 | return tx.data.Type == t |
| 261 | } |
| 262 | |
| 263 | // SetType sets the type to the transaction. |
| 264 | func (tx *Transaction) SetType(t uint64) { |
no outgoing calls