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

Commit bd4e5d4

Browse files
committed
custom implementation of history appending needs access
Signed-off-by: pragmaxim <pragmaxim@gmail.com>
1 parent 555eba6 commit bd4e5d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
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]) = {

0 commit comments

Comments
 (0)