forked from TrueCloudLab/neoneo-go
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
|
|
}
|