mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 14:11:04 +02:00
multi: wrap all errors
This commit is contained in:
committed by
Andras Banki-Horvath
parent
9a28a4c105
commit
648fb22f63
@@ -211,7 +211,7 @@ func newManager(cfg Config, desc setDesc) (*Manager, error) {
|
||||
fv := lnwire.NewFeatureVector(raw, lnwire.Features)
|
||||
err := ValidateDeps(fv)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("invalid feature set %v: %v",
|
||||
return nil, fmt.Errorf("invalid feature set %v: %w",
|
||||
set, err)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user