mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 14:40:30 +01:00
itest: fix code lint
This commit is contained in:
parent
48f6c47b17
commit
86779fb6a5
2 changed files with 2 additions and 6 deletions
|
@ -197,7 +197,6 @@ out:
|
|||
// an unknown payment hash.
|
||||
// TODO(roasbeef): return failure response rather than failing entire
|
||||
// stream on payment error.
|
||||
ctxt, _ = context.WithTimeout(ctxb, defaultTimeout)
|
||||
sendReq := &routerrpc.SendPaymentRequest{
|
||||
PaymentHash: makeFakePayHash(t),
|
||||
Dest: carol.PubKey[:],
|
||||
|
|
|
@ -1097,7 +1097,7 @@ func channelCommitType(node *lntest.HarnessNode,
|
|||
}
|
||||
|
||||
// assertChannelBalanceResp makes a ChannelBalance request and checks the
|
||||
// returned reponse matches the expected.
|
||||
// returned response matches the expected.
|
||||
func assertChannelBalanceResp(t *harnessTest,
|
||||
node *lntest.HarnessNode, expected *lnrpc.ChannelBalanceResponse) {
|
||||
|
||||
|
@ -11202,10 +11202,7 @@ func testSwitchCircuitPersistence(net *lntest.NetworkHarness, t *harnessTest) {
|
|||
// the nodes in the network.
|
||||
err = wait.Predicate(func() bool {
|
||||
predErr = assertNumActiveHtlcs(nodes, 0)
|
||||
if predErr != nil {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
return predErr == nil
|
||||
|
||||
}, time.Second*15)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue