Skip to content

Commit

Permalink
feat(SPV-1075): linter
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-4chain committed Oct 16, 2024
1 parent 3e60bc9 commit c5320ad
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion engine/action_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"math"
"time"

"github.com/bitcoin-sv/spv-wallet/engine/chain/models"
trx "github.com/bitcoin-sv/go-sdk/transaction"
"github.com/bitcoin-sv/spv-wallet/engine/chain/models"
"github.com/bitcoin-sv/spv-wallet/engine/datastore"
"github.com/bitcoin-sv/spv-wallet/engine/spverrors"
"github.com/bitcoin-sv/spv-wallet/engine/utils"
Expand Down
2 changes: 1 addition & 1 deletion engine/chain/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package chain

import (
"context"
"github.com/bitcoin-sv/spv-wallet/models/bsv"
"net/url"

"github.com/bitcoin-sv/go-paymail/spv"
sdk "github.com/bitcoin-sv/go-sdk/transaction"
"github.com/bitcoin-sv/spv-wallet/engine/chain/models"
"github.com/bitcoin-sv/spv-wallet/models"
"github.com/bitcoin-sv/spv-wallet/models/bsv"
)

// ARCService for querying ARC server.
Expand Down
1 change: 1 addition & 0 deletions engine/chain/internal/arc/fee_unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package arc

import (
"context"

"github.com/bitcoin-sv/spv-wallet/models/bsv"
)

Expand Down
2 changes: 1 addition & 1 deletion engine/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package engine

import (
"context"
"github.com/bitcoin-sv/spv-wallet/models/bsv"
"time"

"github.com/bitcoin-sv/go-paymail"
Expand All @@ -19,6 +18,7 @@ import (
"github.com/bitcoin-sv/spv-wallet/engine/spverrors"
"github.com/bitcoin-sv/spv-wallet/engine/taskmanager"
"github.com/bitcoin-sv/spv-wallet/engine/transaction/draft"
"github.com/bitcoin-sv/spv-wallet/models/bsv"
"github.com/go-resty/resty/v2"
"github.com/mrz1836/go-cachestore"
"github.com/rs/zerolog"
Expand Down
2 changes: 1 addition & 1 deletion engine/client_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package engine

import (
"database/sql"
"github.com/bitcoin-sv/spv-wallet/models/bsv"
"net/url"
"strings"
"time"
Expand All @@ -15,6 +14,7 @@ import (
"github.com/bitcoin-sv/spv-wallet/engine/logging"
"github.com/bitcoin-sv/spv-wallet/engine/metrics"
"github.com/bitcoin-sv/spv-wallet/engine/taskmanager"
"github.com/bitcoin-sv/spv-wallet/models/bsv"
"github.com/coocood/freecache"
"github.com/go-redis/redis/v8"
"github.com/go-resty/resty/v2"
Expand Down
2 changes: 1 addition & 1 deletion engine/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package engine

import (
"context"
"github.com/bitcoin-sv/spv-wallet/models/bsv"
"net/http"

"github.com/bitcoin-sv/go-paymail"
Expand All @@ -15,6 +14,7 @@ import (
paymailclient "github.com/bitcoin-sv/spv-wallet/engine/paymail"
"github.com/bitcoin-sv/spv-wallet/engine/taskmanager"
"github.com/bitcoin-sv/spv-wallet/engine/transaction/draft"
"github.com/bitcoin-sv/spv-wallet/models/bsv"
"github.com/mrz1836/go-cachestore"
"github.com/rs/zerolog"
)
Expand Down
2 changes: 1 addition & 1 deletion engine/model_transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package engine
import (
"context"

"github.com/bitcoin-sv/spv-wallet/engine/chain/models"
trx "github.com/bitcoin-sv/go-sdk/transaction"
"github.com/bitcoin-sv/spv-wallet/engine/chain/models"
"github.com/bitcoin-sv/spv-wallet/engine/spverrors"
"github.com/bitcoin-sv/spv-wallet/engine/utils"
)
Expand Down

0 comments on commit c5320ad

Please sign in to comment.