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:
Joost Jager
2019-04-18 09:45:21 +02:00
parent afd86763ac
commit 19d5f8f82c
4 changed files with 11 additions and 21 deletions

View File

@ -45,7 +45,7 @@ func TestRequestRoute(t *testing.T) {
payment := &LightningPayment{
CltvLimit: &cltvLimit,
FinalCLTVDelta: &finalCltvDelta,
FinalCLTVDelta: finalCltvDelta,
}
route, err := session.RequestRoute(payment, height, finalCltvDelta)