Skip to content

Commit

Permalink
ARCO-209: organize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pawellewandowski98 authored and boecklim committed Oct 30, 2024
1 parent e19d657 commit 0a54194
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/broadcaster-cli/app/utxos/consolidate/consolidate.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package consolidate
import (
"errors"
"fmt"
"github.com/bitcoin-sv/arc/internal/woc_client"
"log/slog"
"os"
"os/signal"
Expand All @@ -12,6 +11,7 @@ import (

"github.com/bitcoin-sv/arc/cmd/broadcaster-cli/helper"
"github.com/bitcoin-sv/arc/internal/broadcaster"
"github.com/bitcoin-sv/arc/internal/woc_client"
)

var Cmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/broadcaster-cli/app/utxos/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ package create
import (
"errors"
"fmt"
"github.com/bitcoin-sv/arc/internal/woc_client"
"log"
"log/slog"
"os"
"os/signal"

"github.com/bitcoin-sv/arc/cmd/broadcaster-cli/helper"
"github.com/bitcoin-sv/arc/internal/broadcaster"
"github.com/bitcoin-sv/arc/internal/woc_client"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down
7 changes: 4 additions & 3 deletions internal/blocktx/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ import (
"log/slog"
"time"

"github.com/bitcoin-sv/arc/internal/blocktx/blocktx_api"
"github.com/bitcoin-sv/arc/internal/blocktx/store"
"github.com/bitcoin-sv/arc/internal/grpc_opts"
"github.com/libsv/go-p2p"
"google.golang.org/grpc/reflection"
"google.golang.org/protobuf/types/known/emptypb"
"google.golang.org/protobuf/types/known/timestamppb"

"github.com/bitcoin-sv/arc/internal/blocktx/blocktx_api"
"github.com/bitcoin-sv/arc/internal/blocktx/store"
"github.com/bitcoin-sv/arc/internal/grpc_opts"
)

// Server type carries the logger within it.
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/handler/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"errors"
"fmt"
"github.com/bitcoin-sv/arc/internal/woc_client"
"log/slog"
"net/http"
"net/url"
Expand All @@ -24,6 +23,7 @@ import (
beefValidator "github.com/bitcoin-sv/arc/internal/validator/beef"
defaultValidator "github.com/bitcoin-sv/arc/internal/validator/default"
"github.com/bitcoin-sv/arc/internal/version"
"github.com/bitcoin-sv/arc/internal/woc_client"
"github.com/bitcoin-sv/arc/pkg/api"
merkleverifier "github.com/bitcoin-sv/arc/pkg/api/handler/internal/MerkeVerifier"
txfinder "github.com/bitcoin-sv/arc/pkg/api/handler/internal/TxFinder"
Expand Down

0 comments on commit 0a54194

Please sign in to comment.