aboutsummaryrefslogtreecommitdiffstats
path: root/dex/network.go
diff options
context:
space:
mode:
Diffstat (limited to 'dex/network.go')
-rw-r--r--dex/network.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/dex/network.go b/dex/network.go
index 58d6fd855..4f5c5ac5c 100644
--- a/dex/network.go
+++ b/dex/network.go
@@ -34,10 +34,12 @@ func NewDexconNetwork(pm *ProtocolManager) *DexconNetwork {
// PullBlocks tries to pull blocks from the DEXON network.
func (n *DexconNetwork) PullBlocks(hashes coreCommon.Hashes) {
+ n.pm.BroadcastPullBlocks(hashes)
}
// PullVotes tries to pull votes from the DEXON network.
func (n *DexconNetwork) PullVotes(pos types.Position) {
+ n.pm.BroadcastPullVotes(pos)
}
// BroadcastVote broadcasts vote to all nodes in DEXON network.