From b3621d4a862c00f87c256bba2b82c0544ba6ce6d Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Wed, 26 Feb 2020 14:31:07 +0300 Subject: [PATCH] smartcontract: remove unused structures Removed following unused structures: -smartcontract.ContextItem -smartcontract.Signature -smartcontract.ParameterContext --- pkg/smartcontract/param_context.go | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/pkg/smartcontract/param_context.go b/pkg/smartcontract/param_context.go index b1b8e3330..ed5e9c887 100644 --- a/pkg/smartcontract/param_context.go +++ b/pkg/smartcontract/param_context.go @@ -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{} +} \ No newline at end of file