Skip to content

Commit e577e74

Browse files
committed
fixed epoch
1 parent d3c4046 commit e577e74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/mvp2/actors/Planner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Planner(settings: Settings) extends CommonActor {
6262
nextPeriod = Period(keyBlock, settings)
6363
needToCheckTimeToPublish = true
6464
lastBlock = keyBlock
65-
if (!isRemoved) epoch.dropNextPublisherPublicKey
65+
if (!isRemoved) epoch = epoch.dropNextPublisherPublicKey
6666
if (lastBlock.scheduler.nonEmpty) hasWritten = true
6767
logger.info(s"Last block was updated. Height of last block is: ${lastBlock.height}. Period was updated. " +
6868
s"New period is: $nextPeriod.")

0 commit comments

Comments
 (0)