mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 03:58:06 +00:00
683424cce8
Will be needed for the block test from `dev`.
23 lines
424 B
Go
23 lines
424 B
Go
package transaction
|
|
|
|
import (
|
|
"io"
|
|
)
|
|
|
|
// IssueTX represents a issue transaction.
|
|
// This TX has not special attributes.
|
|
type IssueTX struct{}
|
|
|
|
// DecodeBinary implements the Payload interface.
|
|
func (tx *IssueTX) DecodeBinary(r io.Reader) error {
|
|
return nil
|
|
}
|
|
|
|
// EncodeBinary implements the Payload interface.
|
|
func (tx *IssueTX) EncodeBinary(w io.Writer) error {
|
|
return nil
|
|
}
|
|
|
|
func (tx *IssueTX) Size() int {
|
|
return 0
|
|
}
|