diff --git a/benchmark.go b/benchmark.go index ccc7ce3bf..6ba46de0c 100644 --- a/benchmark.go +++ b/benchmark.go @@ -11,9 +11,9 @@ import ( "github.com/harmony-one/harmony/p2p/p2pimpl" - "github.com/harmony-one/harmony/attack" "github.com/harmony-one/harmony/consensus" "github.com/harmony-one/harmony/db" + "github.com/harmony-one/harmony/internal/attack" "github.com/harmony-one/harmony/log" pkg_newnode "github.com/harmony-one/harmony/newnode" "github.com/harmony-one/harmony/node" diff --git a/consensus/consensus_validator.go b/consensus/consensus_validator.go index 2c9318420..0be0e3bee 100644 --- a/consensus/consensus_validator.go +++ b/consensus/consensus_validator.go @@ -2,12 +2,13 @@ package consensus import ( "bytes" + "github.com/dedis/kyber/sign/schnorr" "github.com/ethereum/go-ethereum/rlp" - "github.com/harmony-one/harmony/attack" consensus2 "github.com/harmony-one/harmony/consensus/proto" "github.com/harmony-one/harmony/core/types" "github.com/harmony-one/harmony/crypto" + "github.com/harmony-one/harmony/internal/attack" "github.com/harmony-one/harmony/log" proto_consensus "github.com/harmony-one/harmony/proto/consensus" "github.com/harmony-one/harmony/utils" diff --git a/attack/attack.go b/internal/attack/attack.go similarity index 100% rename from attack/attack.go rename to internal/attack/attack.go