mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
multi: fix fmt.Errorf error wrapping
Refactor fmt.Errorf usage to correctly wrap errors instead of using non-wrapping format verbs.
This commit is contained in:
@@ -1045,7 +1045,8 @@ func TestGossipSyncerReplyChanRangeQueryBlockRange(t *testing.T) {
|
||||
go func() {
|
||||
for _, query := range queryReqs {
|
||||
if err := syncer.replyChanRangeQuery(query); err != nil {
|
||||
errCh <- fmt.Errorf("unable to issue query: %v", err)
|
||||
errCh <- fmt.Errorf("unable to issue query: %w",
|
||||
err)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user