Update chain/sync.go

This commit is contained in:
Łukasz Magiera 2019-08-02 16:12:20 +02:00 committed by GitHub
parent ff3433baa1
commit 9f195a175c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,6 @@ func NewSyncer(cs *store.ChainStore, bsync *BlockSync, self peer.ID) (*Syncer, e
Genesis: gent, Genesis: gent,
Bsync: bsync, Bsync: bsync,
peerHeads: make(map[peer.ID]*types.TipSet), peerHeads: make(map[peer.ID]*types.TipSet),
//head: cs.GetHeaviestTipSet(),
store: cs, store: cs,
self: self, self: self,
}, nil }, nil