mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 03:38:35 +00:00
smartcontract: remove unused structures
Removed following unused structures: -smartcontract.ContextItem -smartcontract.Signature -smartcontract.ParameterContext
This commit is contained in:
parent
535f391550
commit
b3621d4a86
1 changed files with 1 additions and 17 deletions
|
@ -369,20 +369,4 @@ func NewParameterFromString(in string) (*Parameter, error) {
|
|||
return nil, err
|
||||
}
|
||||
return res, nil
|
||||
}
|
||||
|
||||
// ContextItem represents a transaction context item.
|
||||
type ContextItem struct {
|
||||
Script util.Uint160
|
||||
Parameters []Parameter
|
||||
Signatures []Signature
|
||||
}
|
||||
|
||||
// Signature represents a transaction signature.
|
||||
type Signature struct {
|
||||
Data []byte
|
||||
PublicKey []byte
|
||||
}
|
||||
|
||||
// ParameterContext holds the parameter context.
|
||||
type ParameterContext struct{}
|
||||
}
|
Loading…
Reference in a new issue