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

Commit

Permalink
Merge 8e1f258 into e39d606
Browse files Browse the repository at this point in the history
  • Loading branch information
terjokhin committed Dec 14, 2017
2 parents e39d606 + 8e1f258 commit 8ae5a6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/src/test/scala/hybrid/ModifierGenerators.scala
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ trait ModifierGenerators {
assert(insPerTx >= 1 && insPerTx <= 10)

def filterOutForgedBoxes(in: (ByteArrayWrapper, ByteArrayWrapper)): Boolean = {
PublicKey25519NoncedBoxSerializer.parseBytes(in._2.data).map(_.value).getOrElse(0L) > 0
//current problem with unstable nodeviewholder spec is caused by coinbase block which always has value 1
//so for now we just won't use it
PublicKey25519NoncedBoxSerializer.parseBytes(in._2.data).map(_.value).getOrElse(0L) > 1L
}

val stateBoxes = state.store.getAll()
Expand Down

0 comments on commit 8ae5a6d

Please sign in to comment.