itest: fix code lint
This commit is contained in:
parent
48f6c47b17
commit
86779fb6a5
@ -197,7 +197,6 @@ out:
|
|||||||
// an unknown payment hash.
|
// an unknown payment hash.
|
||||||
// TODO(roasbeef): return failure response rather than failing entire
|
// TODO(roasbeef): return failure response rather than failing entire
|
||||||
// stream on payment error.
|
// stream on payment error.
|
||||||
ctxt, _ = context.WithTimeout(ctxb, defaultTimeout)
|
|
||||||
sendReq := &routerrpc.SendPaymentRequest{
|
sendReq := &routerrpc.SendPaymentRequest{
|
||||||
PaymentHash: makeFakePayHash(t),
|
PaymentHash: makeFakePayHash(t),
|
||||||
Dest: carol.PubKey[:],
|
Dest: carol.PubKey[:],
|
||||||
|
@ -1097,7 +1097,7 @@ func channelCommitType(node *lntest.HarnessNode,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// assertChannelBalanceResp makes a ChannelBalance request and checks the
|
// assertChannelBalanceResp makes a ChannelBalance request and checks the
|
||||||
// returned reponse matches the expected.
|
// returned response matches the expected.
|
||||||
func assertChannelBalanceResp(t *harnessTest,
|
func assertChannelBalanceResp(t *harnessTest,
|
||||||
node *lntest.HarnessNode, expected *lnrpc.ChannelBalanceResponse) {
|
node *lntest.HarnessNode, expected *lnrpc.ChannelBalanceResponse) {
|
||||||
|
|
||||||
@ -11202,10 +11202,7 @@ func testSwitchCircuitPersistence(net *lntest.NetworkHarness, t *harnessTest) {
|
|||||||
// the nodes in the network.
|
// the nodes in the network.
|
||||||
err = wait.Predicate(func() bool {
|
err = wait.Predicate(func() bool {
|
||||||
predErr = assertNumActiveHtlcs(nodes, 0)
|
predErr = assertNumActiveHtlcs(nodes, 0)
|
||||||
if predErr != nil {
|
return predErr == nil
|
||||||
return false
|
|
||||||
}
|
|
||||||
return true
|
|
||||||
|
|
||||||
}, time.Second*15)
|
}, time.Second*15)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user