From 20144e6137b17fe01eece0e12b36f23c6c7ebbb3 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Mon, 22 Mar 2021 12:13:08 +0300 Subject: [PATCH] *: fix some misspellings spotted by GoReportCard --- pkg/core/native/nativenames_test.go | 2 +- pkg/rpc/client/native.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/core/native/nativenames_test.go b/pkg/core/native/nativenames_test.go index 7fd02b2d5..7729d54de 100644 --- a/pkg/core/native/nativenames_test.go +++ b/pkg/core/native/nativenames_test.go @@ -15,5 +15,5 @@ func TestNativenamesIsValid(t *testing.T) { require.True(t, nativenames.IsValid(c.Metadata().Name), fmt.Errorf("add %s to nativenames.IsValid(...)", c)) } - require.False(t, nativenames.IsValid("unkonwn")) + require.False(t, nativenames.IsValid("unknown")) } diff --git a/pkg/rpc/client/native.go b/pkg/rpc/client/native.go index 54eb5de5e..e1a20dcb5 100644 --- a/pkg/rpc/client/native.go +++ b/pkg/rpc/client/native.go @@ -1,6 +1,6 @@ package client -// Various non-policy things from native contracs. +// Various non-policy things from native contracts. import ( "fmt"