mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-02-16 21:16:30 +00:00
19 lines
358 B
Go
19 lines
358 B
Go
package core
|
|
|
|
import "io"
|
|
|
|
// Witness ...
|
|
type Witness struct {
|
|
InvocationScript []byte
|
|
VerificationScript []byte
|
|
}
|
|
|
|
// DecodeBinary implements the payload interface.
|
|
func (wit *Witness) DecodeBinary(r io.Reader) error {
|
|
return nil
|
|
}
|
|
|
|
// EncodeBinary implements the payload interface.
|
|
func (wit *Witness) EncodeBinary(w io.Writer) error {
|
|
return nil
|
|
}
|