@@ -267,8 +267,8 @@ func TestPeerChannelClosureAcceptFeeInitiator(t *testing.T) {
267267 msg : closingSigned ,
268268 }
269269
270- // Alice should accept Bob's fee, broadcast the cooperative close tx, and
271- // send a ClosingSigned message back to Bob.
270+ // Alice should accept Bob's fee, broadcast the cooperative close tx,
271+ // and send a ClosingSigned message back to Bob.
272272
273273 // Alice should now broadcast the closing transaction.
274274 select {
@@ -295,7 +295,8 @@ func TestPeerChannelClosureAcceptFeeInitiator(t *testing.T) {
295295 bobFee , closingSignedMsg .FeeSatoshis )
296296 }
297297
298- // Alice should be waiting on a single confirmation for the coop close tx.
298+ // Alice should be waiting on a single confirmation
299+ // for the coop close tx.
299300 notifier .ConfChan <- & chainntnfs.TxConfirmation {}
300301}
301302
@@ -378,10 +379,10 @@ func TestPeerChannelClosureFeeNegotiationsResponder(t *testing.T) {
378379 msg : closingSigned ,
379380 }
380381
381- // Alice will now see the new fee we propose, but with current settings it
382- // won't accept it immediately as it differs too much by its ideal fee. We
383- // should get a new proposal back, which should have the average fee rate
384- // proposed.
382+ // Alice will now see the new fee we propose, but with current settings
383+ // it won't accept it immediately as it differs too much by its ideal
384+ // fee. We should get a new proposal back, which should have the average
385+ // fee rate proposed.
385386 select {
386387 case outMsg := <- alicePeer .outgoingQueue :
387388 msg = outMsg .msg
@@ -479,7 +480,8 @@ func TestPeerChannelClosureFeeNegotiationsResponder(t *testing.T) {
479480 t .Fatalf ("expected to receive closing signed message, got %T" , msg )
480481 }
481482
482- // Alice should be waiting on a single confirmation for the coop close tx.
483+ // Alice should be waiting on a single confirmation
484+ // for the coop close tx.
483485 notifier .ConfChan <- & chainntnfs.TxConfirmation {}
484486}
485487
@@ -675,7 +677,8 @@ func TestPeerChannelClosureFeeNegotiationsInitiator(t *testing.T) {
675677 t .Fatalf ("expected to receive closing signed message, got %T" , msg )
676678 }
677679
678- // Alice should be waiting on a single confirmation for the coop close tx.
680+ // Alice should be waiting on a single confirmation
681+ // for the coop close tx.
679682 notifier .ConfChan <- & chainntnfs.TxConfirmation {}
680683}
681684
@@ -773,8 +776,9 @@ func TestCustomShutdownScript(t *testing.T) {
773776 tests := []struct {
774777 name string
775778
776- // update is a function used to set values on the channel set up for the
777- // test. It is used to set values for upfront shutdown addresses.
779+ // update is a function used to set values on the channel set up
780+ // for the test. It is used to set values for upfront shutdown
781+ // addresses.
778782 update func (a , b * channeldb.OpenChannel )
779783
780784 // userCloseScript is the address specified by the user.
0 commit comments