mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
Add missing tracerr.Wrap
This commit is contained in:
@@ -68,7 +68,7 @@ func getTokenPriceBitfinex(ctx context.Context, client *sling.Sling,
|
||||
return 0, tracerr.Wrap(err)
|
||||
}
|
||||
if res.StatusCode != http.StatusOK {
|
||||
return 0, fmt.Errorf("http response is not is %v", res.StatusCode)
|
||||
return 0, tracerr.Wrap(fmt.Errorf("http response is not is %v", res.StatusCode))
|
||||
}
|
||||
return state[6], nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user