From f690d36801fa20c4b795fc8ed89d460525c17952 Mon Sep 17 00:00:00 2001 From: TAKAMI Torao Date: Thu, 24 Nov 2022 17:05:19 +0900 Subject: [PATCH] rearrange imports --- p2p/switch_test.go | 2 +- p2p/upnp/upnp.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/p2p/switch_test.go b/p2p/switch_test.go index 8829377b0..2e6e9ddde 100644 --- a/p2p/switch_test.go +++ b/p2p/switch_test.go @@ -4,7 +4,6 @@ import ( "bytes" "errors" "fmt" - net2 "github.com/line/ostracon/libs/net" "io/ioutil" "net" "net/http/httptest" @@ -21,6 +20,7 @@ import ( "github.com/line/ostracon/config" "github.com/line/ostracon/crypto/ed25519" "github.com/line/ostracon/libs/log" + net2 "github.com/line/ostracon/libs/net" tmsync "github.com/line/ostracon/libs/sync" "github.com/line/ostracon/p2p/conn" ) diff --git a/p2p/upnp/upnp.go b/p2p/upnp/upnp.go index 83ba66e69..e3bbe5eda 100644 --- a/p2p/upnp/upnp.go +++ b/p2p/upnp/upnp.go @@ -10,13 +10,14 @@ import ( "encoding/xml" "errors" "fmt" - net2 "github.com/line/ostracon/libs/net" "io/ioutil" "net" "net/http" "strconv" "strings" "time" + + net2 "github.com/line/ostracon/libs/net" ) const HttpRequestTimeout = 30 * time.Second