mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 05:45:21 +01:00
cnct: fix incoming resolver assertion
This commit is contained in:
parent
e2e94c3b6e
commit
9d79fea937
@ -294,7 +294,7 @@ func (i *incomingResolverTestContext) waitForResult(expectSuccessRes bool) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !expectSuccessRes {
|
if !expectSuccessRes {
|
||||||
if err != nil {
|
if i.nextResolver != nil {
|
||||||
i.t.Fatal("expected no next resolver")
|
i.t.Fatal("expected no next resolver")
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user