mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-02-08 19:42:38 +00:00
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
|
|
}
|