Add sync state when initializing node (#69)

This commit is contained in:
Andrea Maria Piana
2019-08-21 12:38:49 +02:00
committed by GitHub
parent 7c42852bfd
commit afd2e97e38

View File

@@ -69,6 +69,7 @@ func NewPersistentNode(
store: store.NewPersistentMessageStore(db),
transport: st,
peers: peers.NewSQLitePersistence(db),
syncState: state.NewPersistentSyncState(db),
payloads: newPayloads(),
epochPersistence: newEpochSQLitePersistence(db),
nextEpoch: nextEpoch,