routing/pathfind: fmt whitespace
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -358,7 +358,7 @@ func newRoute(amtToSend, feeLimit lnwire.MilliSatoshi, sourceVertex Vertex,
|
|||||||
// enough capacity to carry the required amount which
|
// enough capacity to carry the required amount which
|
||||||
// includes the fee dictated at each hop. Make the comparison
|
// includes the fee dictated at each hop. Make the comparison
|
||||||
// in msat to prevent rounding errors.
|
// in msat to prevent rounding errors.
|
||||||
if currentHop.AmtToForward + fee > lnwire.NewMSatFromSatoshis(
|
if currentHop.AmtToForward+fee > lnwire.NewMSatFromSatoshis(
|
||||||
currentHop.Channel.Capacity) {
|
currentHop.Channel.Capacity) {
|
||||||
|
|
||||||
err := fmt.Sprintf("channel graph has insufficient "+
|
err := fmt.Sprintf("channel graph has insufficient "+
|
||||||
|
|||||||
Reference in new issue
Block a user