Skip to content

Commit

Permalink
fixing test - remove transactions which become invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
kushti committed Oct 2, 2023
1 parent d9505c0 commit aa9cb7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class MempoolAuditorSpec extends AnyFlatSpec with NodeViewTestOps with ErgoTestH
val boxes = ErgoState.newBoxes(genesis.transactions).find(_.ergoTree == Constants.TrueLeaf)
boxes.nonEmpty shouldBe true

val script = s"{sigmaProp(HEIGHT == ${genesis.height})}"
val script = s"{sigmaProp(HEIGHT == ${genesis.height} + 1)}"
val compiler = new SigmaCompiler(ErgoAddressEncoder.MainnetNetworkPrefix)
val prop = compiler.compile(emptyEnv, script).buildTree
val tree = ErgoTree.fromProposition(prop.asSigmaProp)
Expand Down

0 comments on commit aa9cb7b

Please sign in to comment.