aboutsummaryrefslogtreecommitdiffstats
path: root/lds/sync.go
diff options
context:
space:
mode:
Diffstat (limited to 'lds/sync.go')
-rw-r--r--lds/sync.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lds/sync.go b/lds/sync.go
index 7beb06e45..27d14936c 100644
--- a/lds/sync.go
+++ b/lds/sync.go
@@ -21,7 +21,7 @@ import (
"time"
"github.com/dexon-foundation/dexon/core/rawdb"
- "github.com/dexon-foundation/dexon/eth/downloader"
+ "github.com/dexon-foundation/dexon/dex/downloader"
"github.com/dexon-foundation/dexon/light"
)
@@ -75,5 +75,5 @@ func (pm *ProtocolManager) synchronise(peer *peer) {
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
defer cancel()
pm.blockchain.(*light.LightChain).SyncCht(ctx)
- pm.downloader.Synchronise(peer.id, peer.Head(), peer.Td(), downloader.LightSync)
+ pm.downloader.Synchronise(peer.id, peer.Head(), peer.Number(), downloader.LightSync)
}