mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 03:41:34 +00:00
network: fix linter warning
Fix the following linter warning: ``` dot-imports: should not use dot imports (revive) ``` Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
39ce3a9d1d
commit
6e0af5ac90
1 changed files with 3 additions and 3 deletions
|
@ -6,13 +6,13 @@ import (
|
|||
|
||||
"github.com/nspcc-dev/neo-go/internal/testserdes"
|
||||
"github.com/nspcc-dev/neo-go/pkg/crypto/hash"
|
||||
. "github.com/nspcc-dev/neo-go/pkg/util"
|
||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func TestInventoryEncodeDecode(t *testing.T) {
|
||||
hashes := []Uint256{
|
||||
hashes := []util.Uint256{
|
||||
hash.Sha256([]byte("a")),
|
||||
hash.Sha256([]byte("b")),
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ func TestInventoryEncodeDecode(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestEmptyInv(t *testing.T) {
|
||||
msgInv := NewInventory(TXType, []Uint256{})
|
||||
msgInv := NewInventory(TXType, []util.Uint256{})
|
||||
|
||||
data, err := testserdes.EncodeBinary(msgInv)
|
||||
assert.Nil(t, err)
|
||||
|
|
Loading…
Reference in a new issue