[#66] node: Replace interface{} with any
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
This commit is contained in:
parent
3d873237d5
commit
cb5468abb8
67 changed files with 135 additions and 135 deletions
|
@ -151,7 +151,7 @@ func (s StaticClient) Invoke(prm InvokePrm) error {
|
|||
// TestInvokePrm groups parameters of the TestInvoke operation.
|
||||
type TestInvokePrm struct {
|
||||
method string
|
||||
args []interface{}
|
||||
args []any
|
||||
}
|
||||
|
||||
// SetMethod sets method of the contract to call.
|
||||
|
@ -160,7 +160,7 @@ func (ti *TestInvokePrm) SetMethod(method string) {
|
|||
}
|
||||
|
||||
// SetArgs sets arguments of the contact call.
|
||||
func (ti *TestInvokePrm) SetArgs(args ...interface{}) {
|
||||
func (ti *TestInvokePrm) SetArgs(args ...any) {
|
||||
ti.args = args
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue