mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-01-09 01:19:05 +00:00
19 lines
232 B
Go
19 lines
232 B
Go
package version
|
|
|
|
import (
|
|
"github.com/CityOfZion/neo-go/pkg/wire/util"
|
|
)
|
|
|
|
type TX uint8
|
|
|
|
const (
|
|
Contract TX = 0
|
|
)
|
|
|
|
func (v *TX) Encode(bw *util.BinWriter) {
|
|
bw.Write(v)
|
|
}
|
|
|
|
func (v *TX) Decode(br *util.BinReader) {
|
|
br.Read(v)
|
|
}
|