diff --git a/pkg/morph/client/static.go b/pkg/morph/client/static.go index 1df6c65126..64fde1c55d 100644 --- a/pkg/morph/client/static.go +++ b/pkg/morph/client/static.go @@ -65,9 +65,7 @@ func (s StaticClient) Morph() *Client { // InvokePrm groups parameters of the Invoke operation. type InvokePrm struct { - // required parameters - method string - args []interface{} + TestInvokePrm // optional parameters InvokePrmOptional @@ -84,16 +82,6 @@ type InvokePrmOptional struct { hash *util.Uint256 } -// SetMethod sets method of the contract to call. -func (i *InvokePrm) SetMethod(method string) { - i.method = method -} - -// SetArgs sets arguments of the contact call. -func (i *InvokePrm) SetArgs(args ...interface{}) { - i.args = args -} - // SetHash sets optional hash of the transaction. // If hash is set and notary is enabled, StaticClient // uses it for notary nonce and `validUntilBlock`