Comparing version 1.9.3 to 1.9.4
# Versions | ||
## 1.9.3 | ||
## 1.9.4 | ||
@@ -5,0 +5,0 @@ - `hopsFromChannels`, `routeFromChannels`, `routeFromHops`: Add support for |
@@ -31,3 +31,3 @@ { | ||
}, | ||
"version": "1.9.3" | ||
"version": "1.9.4" | ||
} |
@@ -95,2 +95,5 @@ const defaultCltvDelta = 40; | ||
const nextCltvPolicy = ((nextPolicy || {}).policies || []) | ||
.find(n => n.public_key === peer.public_key); | ||
// The end of a route is where the penultimate node pays the ultimate one. | ||
@@ -106,2 +109,6 @@ if (i < payIndex) { | ||
if (!!nextCltvPolicy) { | ||
cltvDelta = nextCltvPolicy.cltv_delta; | ||
} | ||
return { | ||
@@ -108,0 +115,0 @@ base_fee_mtokens: (overridePolicy || policy).base_fee_mtokens, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
104687
3223