diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-02 12:04:20 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:52 +0800 |
commit | 8e367a13fe30a6a63880ef4d031b7f6c153cf5f0 (patch) | |
tree | a88f84c84b735c95fb22f03e3207a085d6edf36a /dex/handler.go | |
parent | b1172dab3b91335729325f3effe48688418129d1 (diff) | |
download | dexon-8e367a13fe30a6a63880ef4d031b7f6c153cf5f0.tar dexon-8e367a13fe30a6a63880ef4d031b7f6c153cf5f0.tar.gz dexon-8e367a13fe30a6a63880ef4d031b7f6c153cf5f0.tar.bz2 dexon-8e367a13fe30a6a63880ef4d031b7f6c153cf5f0.tar.lz dexon-8e367a13fe30a6a63880ef4d031b7f6c153cf5f0.tar.xz dexon-8e367a13fe30a6a63880ef4d031b7f6c153cf5f0.tar.zst dexon-8e367a13fe30a6a63880ef4d031b7f6c153cf5f0.zip |
Rename import due to dexon-consensus rename
Diffstat (limited to 'dex/handler.go')
-rw-r--r-- | dex/handler.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/dex/handler.go b/dex/handler.go index 5662e2b84..68c682eda 100644 --- a/dex/handler.go +++ b/dex/handler.go @@ -1,18 +1,18 @@ -// Copyright 2018 The dexon-consensus-core Authors -// This file is part of the dexon-consensus-core library. +// Copyright 2018 The dexon-consensus Authors +// This file is part of the dexon-consensus library. // -// The dexon-consensus-core library is free software: you can redistribute it +// The dexon-consensus library is free software: you can redistribute it // and/or modify it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation, either version 3 of the License, // or (at your option) any later version. // -// The dexon-consensus-core library is distributed in the hope that it will be +// The dexon-consensus library is distributed in the hope that it will be // useful, but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser // General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License -// along with the dexon-consensus-core library. If not, see +// along with the dexon-consensus library. If not, see // <http://www.gnu.org/licenses/>. // Copyright 2015 The go-ethereum Authors @@ -43,10 +43,10 @@ import ( "sync/atomic" "time" - coreCommon "github.com/dexon-foundation/dexon-consensus-core/common" - coreCrypto "github.com/dexon-foundation/dexon-consensus-core/core/crypto" - coreTypes "github.com/dexon-foundation/dexon-consensus-core/core/types" - dkgTypes "github.com/dexon-foundation/dexon-consensus-core/core/types/dkg" + coreCommon "github.com/dexon-foundation/dexon-consensus/common" + coreCrypto "github.com/dexon-foundation/dexon-consensus/core/crypto" + coreTypes "github.com/dexon-foundation/dexon-consensus/core/types" + dkgTypes "github.com/dexon-foundation/dexon-consensus/core/types/dkg" "github.com/dexon-foundation/dexon/common" "github.com/dexon-foundation/dexon/consensus" @@ -941,7 +941,7 @@ func (pm *ProtocolManager) BroadcastRandomnessResult( } func (pm *ProtocolManager) SendDKGPrivateShare( - pub coreCrypto.PublicKey, privateShare *coreTypes.DKGPrivateShare) { + pub coreCrypto.PublicKey, privateShare *dkgTypes.PrivateShare) { id := string(pub.Bytes()[1:]) if p := pm.peers.Peer(id); p != nil { p.AsyncSendDKGPrivateShare(privateShare) |