Skip to content

Commit d36597f

Browse files
committed
all: fix lint issues from microstack-tech -> ParallaxProtocol rename
1 parent dee101f commit d36597f

File tree

110 files changed

+158
-151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+158
-151
lines changed

accounts/abi/type_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121
"reflect"
2222
"testing"
2323

24-
"github.com/davecgh/go-spew/spew"
2524
"github.com/ParallaxProtocol/parallax/common"
25+
"github.com/davecgh/go-spew/spew"
2626
)
2727

2828
// typeWithoutStringer is a alias for the Type type which simply doesn't implement

accounts/keystore/account_cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ import (
2727
"sync"
2828
"time"
2929

30-
mapset "github.com/deckarep/golang-set"
3130
"github.com/ParallaxProtocol/parallax/accounts"
3231
"github.com/ParallaxProtocol/parallax/common"
3332
"github.com/ParallaxProtocol/parallax/log"
33+
mapset "github.com/deckarep/golang-set"
3434
)
3535

3636
// Minimum amount of time between cache reloads. This limit applies if the platform does

accounts/keystore/account_cache_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ import (
2626
"testing"
2727
"time"
2828

29-
"github.com/cespare/cp"
30-
"github.com/davecgh/go-spew/spew"
3129
"github.com/ParallaxProtocol/parallax/accounts"
3230
"github.com/ParallaxProtocol/parallax/common"
31+
"github.com/cespare/cp"
32+
"github.com/davecgh/go-spew/spew"
3333
)
3434

3535
var (

accounts/keystore/file_cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import (
2323
"sync"
2424
"time"
2525

26-
mapset "github.com/deckarep/golang-set"
2726
"github.com/ParallaxProtocol/parallax/log"
27+
mapset "github.com/deckarep/golang-set"
2828
)
2929

3030
// fileCache is a cache of files seen during scan of keystore.

accounts/keystore/key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ import (
2828
"strings"
2929
"time"
3030

31-
"github.com/google/uuid"
3231
"github.com/ParallaxProtocol/parallax/accounts"
3332
"github.com/ParallaxProtocol/parallax/common"
3433
"github.com/ParallaxProtocol/parallax/crypto"
34+
"github.com/google/uuid"
3535
)
3636

3737
const (

accounts/keystore/passphrase.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ import (
3737
"os"
3838
"path/filepath"
3939

40-
"github.com/google/uuid"
4140
"github.com/ParallaxProtocol/parallax/accounts"
4241
"github.com/ParallaxProtocol/parallax/common"
4342
"github.com/ParallaxProtocol/parallax/common/math"
4443
"github.com/ParallaxProtocol/parallax/crypto"
44+
"github.com/google/uuid"
4545
"golang.org/x/crypto/pbkdf2"
4646
"golang.org/x/crypto/scrypt"
4747
)

accounts/keystore/presale.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ import (
2525
"errors"
2626
"fmt"
2727

28-
"github.com/google/uuid"
2928
"github.com/ParallaxProtocol/parallax/accounts"
3029
"github.com/ParallaxProtocol/parallax/crypto"
30+
"github.com/google/uuid"
3131
"golang.org/x/crypto/pbkdf2"
3232
)
3333

accounts/scwallet/hub.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ import (
4141
"sync"
4242
"time"
4343

44-
pcsc "github.com/gballet/go-libpcsclite"
4544
"github.com/ParallaxProtocol/parallax/accounts"
4645
"github.com/ParallaxProtocol/parallax/common"
4746
"github.com/ParallaxProtocol/parallax/event"
4847
"github.com/ParallaxProtocol/parallax/log"
48+
pcsc "github.com/gballet/go-libpcsclite"
4949
)
5050

5151
// Scheme is the URI prefix for smartcard wallets.

accounts/scwallet/securechannel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import (
2626
"crypto/sha512"
2727
"fmt"
2828

29-
pcsc "github.com/gballet/go-libpcsclite"
3029
"github.com/ParallaxProtocol/parallax/crypto"
30+
pcsc "github.com/gballet/go-libpcsclite"
3131
"golang.org/x/crypto/pbkdf2"
3232
"golang.org/x/text/unicode/norm"
3333
)

accounts/scwallet/wallet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ import (
3333
"sync"
3434
"time"
3535

36-
pcsc "github.com/gballet/go-libpcsclite"
3736
parallax "github.com/ParallaxProtocol/parallax"
3837
"github.com/ParallaxProtocol/parallax/accounts"
3938
"github.com/ParallaxProtocol/parallax/common"
4039
"github.com/ParallaxProtocol/parallax/core/types"
4140
"github.com/ParallaxProtocol/parallax/crypto"
4241
"github.com/ParallaxProtocol/parallax/log"
42+
pcsc "github.com/gballet/go-libpcsclite"
4343
"github.com/status-im/keycard-go/derivationpath"
4444
)
4545

0 commit comments

Comments
 (0)