mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-27 10:06:31 +02:00
routing: add time_pref parameter to queryroutes and sendpayment
This commit is contained in:
@@ -363,7 +363,7 @@ func (s *Server) EstimateRouteFee(ctx context.Context,
|
||||
// that exceeds it and is useless to us.
|
||||
mc := s.cfg.RouterBackend.MissionControl
|
||||
route, err := s.cfg.Router.FindRoute(
|
||||
s.cfg.RouterBackend.SelfNode, destNode, amtMsat,
|
||||
s.cfg.RouterBackend.SelfNode, destNode, amtMsat, 0,
|
||||
&routing.RestrictParams{
|
||||
FeeLimit: feeLimit,
|
||||
CltvLimit: s.cfg.RouterBackend.MaxTotalTimelock,
|
||||
|
Reference in New Issue
Block a user