forked from TrueCloudLab/frostfs-node
[#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
|
@ -341,7 +341,7 @@ func TestPrepare_CorrectNR(t *testing.T) {
|
|||
tests := []struct {
|
||||
hash util.Uint160
|
||||
method string
|
||||
args []interface{}
|
||||
args []any
|
||||
}{
|
||||
{
|
||||
scriptHash,
|
||||
|
@ -351,10 +351,10 @@ func TestPrepare_CorrectNR(t *testing.T) {
|
|||
{
|
||||
scriptHash,
|
||||
"test2",
|
||||
[]interface{}{
|
||||
[]any{
|
||||
int64(4),
|
||||
"test",
|
||||
[]interface{}{
|
||||
[]any{
|
||||
int64(4),
|
||||
false,
|
||||
true,
|
||||
|
@ -416,7 +416,7 @@ func alphaKeysSource() client.AlphabetKeys {
|
|||
}
|
||||
}
|
||||
|
||||
func script(hash util.Uint160, method string, args ...interface{}) []byte {
|
||||
func script(hash util.Uint160, method string, args ...any) []byte {
|
||||
bw := io.NewBufBinWriter()
|
||||
|
||||
if len(args) > 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue