Skip to content

Commit

Permalink
Changing import of crypto/sha3
Browse files Browse the repository at this point in the history
- Import crypto/sha3 from `golang.org/x` instead of
`github.com/ethereum/go-ethereum`. This change was introduced in
Byzantium v1.8.21 PR: ethereum/go-ethereum#18390
For our upgrade we also need to point to golang.org/x/crypto/sha3 so the
dependencies won't break.
  • Loading branch information
dimpar committed Jul 4, 2019
1 parent 9c7feaf commit 6625693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chain/local/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"sort"
"sync"

"github.com/ethereum/go-ethereum/crypto/sha3"
relaychain "github.com/keep-network/keep-core/pkg/beacon/relay/chain"
relayconfig "github.com/keep-network/keep-core/pkg/beacon/relay/config"
"github.com/keep-network/keep-core/pkg/beacon/relay/event"
Expand All @@ -18,6 +17,7 @@ import (
"github.com/keep-network/keep-core/pkg/gen/async"
"github.com/keep-network/keep-core/pkg/operator"
"github.com/keep-network/keep-core/pkg/subscription"
"golang.org/x/crypto/sha3"
)

var seedGroupPublicKey = []byte("seed to group public key")
Expand Down

0 comments on commit 6625693

Please sign in to comment.