multi: wrap all errors
This commit is contained in:
1 parent
9a28a4c105
commit
648fb22f63
60 files changed
+138
-133
No files matched your search
+1
-1
@@ -643,7 +643,7 @@ func (c *ChannelStateDB) fetchNodeChannels(chainBucket kvdb.RBucket) (
|
||||
oChannel, err := fetchOpenChannel(chanBucket, &outPoint)
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to read channel data for "+
|
||||
"chan_point=%v: %v", outPoint, err)
|
||||
"chan_point=%v: %w", outPoint, err)
|
||||
}
|
||||
oChannel.Db = c
|
||||
|
||||
|
||||
Reference in new issue
Block a user