fix go-ethereum import

This commit is contained in:
Andrea Franz 2021-10-21 15:19:02 +02:00
parent d3f6eddc36
commit 6cfed8c904
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
10 changed files with 9 additions and 12 deletions

View File

@ -10,7 +10,7 @@ import (
"crypto/sha512"
"errors"
"github.com/status-im/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/crypto"
"golang.org/x/crypto/pbkdf2"
"golang.org/x/text/unicode/norm"
)

View File

@ -3,7 +3,7 @@ package crypto
import (
"testing"
"github.com/status-im/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/crypto"
"github.com/status-im/keycard-go/hexutils"
"github.com/stretchr/testify/assert"
)

View File

@ -1,5 +1,5 @@
package globalplatform
import "github.com/status-im/go-ethereum/log"
import "github.com/ethereum/go-ethereum/log"
var logger = log.New("package", "keycard-go/globalplatform")

3
go.mod
View File

@ -3,7 +3,7 @@ module github.com/status-im/keycard-go
go 1.17
require (
github.com/status-im/go-ethereum v1.9.1
github.com/ethereum/go-ethereum v1.10.4
github.com/stretchr/testify v1.7.0
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
golang.org/x/text v0.3.7
@ -12,7 +12,6 @@ require (
require (
github.com/btcsuite/btcd v0.22.0-beta // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/ethereum/go-ethereum v1.10.4 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912 // indirect

2
go.sum
View File

@ -287,8 +287,6 @@ github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasO
github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/status-im/go-ethereum v1.9.1 h1:N3E3g++Isr4OORPVPwWFlaHp+3EOV9X4A88MbcRsk2Y=
github.com/status-im/go-ethereum v1.9.1/go.mod h1:rdSZTVW2L1V6dsRpW77o4gwqWRUYfb/e9nNHcIgVEO4=
github.com/status-im/go-ethereum v1.10.4-status.2 h1:uvcD2U7skYqPQviARFb4w3wZyFSYLs/pfVrJaRSDcCA=
github.com/status-im/go-ethereum v1.10.4-status.2/go.mod h1:GvIhpdCOgMHI6i5xVPEZOrv/qSMeOFHbZh77AoyZUoE=
github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q=

View File

@ -1,7 +1,7 @@
package io
import (
"github.com/status-im/go-ethereum/log"
"github.com/ethereum/go-ethereum/log"
"github.com/status-im/keycard-go/apdu"
"github.com/status-im/keycard-go/globalplatform"
"github.com/status-im/keycard-go/hexutils"

View File

@ -1,7 +1,7 @@
package keycard
import (
"github.com/status-im/go-ethereum/log"
"github.com/ethereum/go-ethereum/log"
)
var logger = log.New("package", "keycard-go")

View File

@ -5,7 +5,7 @@ import (
"crypto/ecdsa"
"errors"
ethcrypto "github.com/status-im/go-ethereum/crypto"
ethcrypto "github.com/ethereum/go-ethereum/crypto"
"github.com/status-im/keycard-go/apdu"
"github.com/status-im/keycard-go/crypto"
"github.com/status-im/keycard-go/globalplatform"

View File

@ -3,7 +3,7 @@ package types
import (
"fmt"
ethcrypto "github.com/status-im/go-ethereum/crypto"
ethcrypto "github.com/ethereum/go-ethereum/crypto"
"github.com/status-im/keycard-go/apdu"
)

View File

@ -3,7 +3,7 @@ package types
import (
"bytes"
"github.com/status-im/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/crypto"
"github.com/status-im/keycard-go/apdu"
)