Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Commit 7b84e7d

Browse files
committed
Merge commit 'refs/pull/397/head' of github.com:hyperledger-labs/Scorex into handle-db-issues-explicitly
2 parents 8f0badb + e8e7052 commit 7b84e7d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/scala/scorex/core/NodeViewHolder.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ trait NodeViewHolder[TX <: Transaction, PMOD <: PersistentNodeViewModifier]
163163
}
164164
}
165165

166-
private def requestDownloads(pi: ProgressInfo[PMOD]): Unit =
166+
protected def requestDownloads(pi: ProgressInfo[PMOD]): Unit =
167167
pi.toDownload.foreach { case (tid, id) =>
168168
context.system.eventStream.publish(DownloadRequest(tid, id))
169169
}
@@ -206,7 +206,7 @@ trait NodeViewHolder[TX <: Transaction, PMOD <: PersistentNodeViewModifier]
206206
**/
207207

208208
@tailrec
209-
private def updateState(history: HIS,
209+
protected final def updateState(history: HIS,
210210
state: MS,
211211
progressInfo: ProgressInfo[PMOD],
212212
suffixApplied: IndexedSeq[PMOD]): (HIS, Try[MS], Seq[PMOD]) = {

src/main/scala/scorex/core/network/NetworkController.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class NetworkController(settings: NetworkSettings,
203203
filterConnections(Broadcast, Version.initial).foreach { connectedPeer =>
204204
connectedPeer.handlerRef ! CloseConnection
205205
}
206-
self ! Unbind
206+
tcpManager ! Unbind
207207
context stop self
208208
}
209209

0 commit comments

Comments
 (0)