@@ -63,15 +63,16 @@ class RustyTestsSpec extends TestKitBaseClass with Matchers with FixtureAnyFunSu
63
63
val feeEstimator = new TestFeeEstimator
64
64
val aliceNodeParams = Alice .nodeParams.copy(blockCount = blockCount, onChainFeeConf = Alice .nodeParams.onChainFeeConf.copy(feeEstimator = feeEstimator))
65
65
val bobNodeParams = Bob .nodeParams.copy(blockCount = blockCount, onChainFeeConf = Bob .nodeParams.onChainFeeConf.copy(feeEstimator = feeEstimator))
66
+ val channelVersion = ChannelVersion .STANDARD
66
67
val alice : TestFSMRef [State , Data , Channel ] = TestFSMRef (new Channel (aliceNodeParams, wallet, Bob .nodeParams.nodeId, alice2blockchain.ref, relayer, FakeTxPublisherFactory (alice2blockchain)), alicePeer.ref)
67
68
val bob : TestFSMRef [State , Data , Channel ] = TestFSMRef (new Channel (bobNodeParams, wallet, Alice .nodeParams.nodeId, bob2blockchain.ref, relayer, FakeTxPublisherFactory (bob2blockchain)), bobPeer.ref)
68
69
val aliceInit = Init (Alice .channelParams.features)
69
70
val bobInit = Init (Bob .channelParams.features)
70
71
// alice and bob will both have 1 000 000 sat
71
72
feeEstimator.setFeerate(FeeratesPerKw .single(FeeratePerKw (10000 sat)))
72
- alice ! INPUT_INIT_FUNDER (ByteVector32 .Zeroes , 2000000 sat, 1000000000 msat, feeEstimator.getFeeratePerKw(target = 2 ), feeEstimator.getFeeratePerKw(target = 6 ), None , Alice .channelParams, pipe, bobInit, ChannelFlags .Empty , ChannelVersion . STANDARD )
73
+ alice ! INPUT_INIT_FUNDER (ByteVector32 .Zeroes , 2000000 sat, 1000000000 msat, feeEstimator.getFeeratePerKw(target = 2 ), feeEstimator.getFeeratePerKw(target = 6 ), None , Alice .channelParams, pipe, bobInit, ChannelFlags .Empty , channelVersion )
73
74
alice2blockchain.expectMsgType[TxPublisher .SetChannelId ]
74
- bob ! INPUT_INIT_FUNDEE (ByteVector32 .Zeroes , Bob .channelParams, pipe, aliceInit, ChannelVersion . STANDARD )
75
+ bob ! INPUT_INIT_FUNDEE (ByteVector32 .Zeroes , Bob .channelParams, pipe, aliceInit, channelVersion )
75
76
bob2blockchain.expectMsgType[TxPublisher .SetChannelId ]
76
77
pipe ! (alice, bob)
77
78
within(30 seconds) {
0 commit comments