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:
4 files changed
+11
-21
No files matched your search
@@ -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