aboutsummaryrefslogtreecommitdiffstats
path: root/dex/handler.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-02 12:04:20 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:17 +0800
commit248fdaa5ccca535ddce93173f2f0f3bc60b9381d (patch)
treeea99eebff0db5294e222adc7920f8a5f47a7c2ba /dex/handler.go
parent7ef2bd6a1544d3b92cf2b2119935b425279b4e59 (diff)
downloadgo-tangerine-248fdaa5ccca535ddce93173f2f0f3bc60b9381d.tar
go-tangerine-248fdaa5ccca535ddce93173f2f0f3bc60b9381d.tar.gz
go-tangerine-248fdaa5ccca535ddce93173f2f0f3bc60b9381d.tar.bz2
go-tangerine-248fdaa5ccca535ddce93173f2f0f3bc60b9381d.tar.lz
go-tangerine-248fdaa5ccca535ddce93173f2f0f3bc60b9381d.tar.xz
go-tangerine-248fdaa5ccca535ddce93173f2f0f3bc60b9381d.tar.zst
go-tangerine-248fdaa5ccca535ddce93173f2f0f3bc60b9381d.zip
Rename import due to dexon-consensus rename
Diffstat (limited to 'dex/handler.go')
-rw-r--r--dex/handler.go20
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)