Skip to content

Commit 4bd9575

Browse files
committed
Fixup! remove unused script in TxPublisherSpec
1 parent 2a8bb5a commit 4bd9575

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

eclair-core/src/test/scala/fr/acinq/eclair/channel/publish/TxPublisherSpec.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ import scala.concurrent.duration.DurationInt
3838
class TxPublisherSpec extends TestKitBaseClass with FixtureAnyFunSuiteLike {
3939

4040
case class FixtureParam(nodeParams: NodeParams, txPublisher: ActorRef[TxPublisher.Command], factory: TestProbe, probe: TestProbe)
41-
42-
private def randomScript = Script.write(Script.pay2wpkh(randomKey().publicKey))
43-
41+
4442
override def withFixture(test: OneArgTest): Outcome = {
4543
within(max = 30 seconds) {
4644
val nodeParams = TestConstants.Alice.nodeParams

0 commit comments

Comments
 (0)