mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-29 18:10:48 +02:00
routing: move default cltv assignment out of router
This commit lifts default setting up to the rpc server level, in line with other payment defaults.
This commit is contained in:
@ -45,7 +45,7 @@ func TestRequestRoute(t *testing.T) {
|
||||
|
||||
payment := &LightningPayment{
|
||||
CltvLimit: &cltvLimit,
|
||||
FinalCLTVDelta: &finalCltvDelta,
|
||||
FinalCLTVDelta: finalCltvDelta,
|
||||
}
|
||||
|
||||
route, err := session.RequestRoute(payment, height, finalCltvDelta)
|
||||
|
Reference in New Issue
Block a user