mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-15 12:50:15 +02:00
This commit fixes a bug in the wait.NoError function. If the predicate function, f, passed to the NoError function would hang for the full timeout, then the `predErr` would remain nil and so a nil error would be returned from the function. This commit handles that case. |
||
|---|---|---|
| .. | ||
| timeouts.go | ||
| timeouts_darwin.go | ||
| timeouts_remote_db.go | ||
| wait.go | ||