init blockSyncing and doneSyncing channel

pull/69/head
Minh Doan 6 years ago
parent bff307484d
commit 12f31bcbef
  1. 3
      node/node.go

@ -134,6 +134,9 @@ func New(consensus *consensus.Consensus, db *db.LDBDatabase) *Node {
// Initialize level db.
node.db = db
// Initialize channel for syncing.
node.doneSyncing = make(chan struct{})
node.blockSyncing = make(chan struct{})
}
// Logger
node.log = log.New()

Loading…
Cancel
Save