breacharbiter_test: use RemoteUnilateralCloseSummary and LocalForceCloseSummary
This commit is contained in:
1 file changed
+4
-2
@@ -951,7 +951,8 @@ func TestBreachHandoffSuccess(t *testing.T) {
|
|||||||
// Instantiate a breach arbiter to handle the breach of alice's channel.
|
// Instantiate a breach arbiter to handle the breach of alice's channel.
|
||||||
alicePoint := alice.ChannelPoint()
|
alicePoint := alice.ChannelPoint()
|
||||||
spendEvents := contractcourt.ChainEventSubscription{
|
spendEvents := contractcourt.ChainEventSubscription{
|
||||||
UnilateralClosure: make(chan *lnwallet.UnilateralCloseSummary, 1),
|
RemoteUnilateralClosure: make(chan *lnwallet.UnilateralCloseSummary, 1),
|
||||||
|
LocalUnilateralClosure: make(chan *contractcourt.LocalUnilateralCloseInfo, 1),
|
||||||
CooperativeClosure: make(chan struct{}, 1),
|
CooperativeClosure: make(chan struct{}, 1),
|
||||||
ContractBreach: make(chan *lnwallet.BreachRetribution, 1),
|
ContractBreach: make(chan *lnwallet.BreachRetribution, 1),
|
||||||
ProcessACK: make(chan error, 1),
|
ProcessACK: make(chan error, 1),
|
||||||
@@ -1039,7 +1040,8 @@ func TestBreachHandoffFail(t *testing.T) {
|
|||||||
// Instantiate a breach arbiter to handle the breach of alice's channel.
|
// Instantiate a breach arbiter to handle the breach of alice's channel.
|
||||||
alicePoint := alice.ChannelPoint()
|
alicePoint := alice.ChannelPoint()
|
||||||
spendEvents := contractcourt.ChainEventSubscription{
|
spendEvents := contractcourt.ChainEventSubscription{
|
||||||
UnilateralClosure: make(chan *lnwallet.UnilateralCloseSummary, 1),
|
RemoteUnilateralClosure: make(chan *lnwallet.UnilateralCloseSummary, 1),
|
||||||
|
LocalUnilateralClosure: make(chan *contractcourt.LocalUnilateralCloseInfo, 1),
|
||||||
CooperativeClosure: make(chan struct{}, 1),
|
CooperativeClosure: make(chan struct{}, 1),
|
||||||
ContractBreach: make(chan *lnwallet.BreachRetribution, 1),
|
ContractBreach: make(chan *lnwallet.BreachRetribution, 1),
|
||||||
ProcessACK: make(chan error, 1),
|
ProcessACK: make(chan error, 1),
|
||||||
|
|||||||
Reference in new issue
Block a user