mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-08 05:08:13 +02:00
refactor: use a more straightforward return value
Signed-off-by: fuyangpengqi <995764973@qq.com>
This commit is contained in:
@@ -118,7 +118,7 @@ func (s *Server) SendToRoute(ctx context.Context,
|
||||
Failure: resp.Failure,
|
||||
}
|
||||
|
||||
return legacyResp, err
|
||||
return legacyResp, nil
|
||||
}
|
||||
|
||||
// QueryProbability returns the current success probability estimate for a
|
||||
|
Reference in New Issue
Block a user