routing/pathfind: fmt whitespace

This commit is contained in:
Conner Fromknecht committed 2018-08-02 18:20:49 -07:00
1 parent 1ded697e8d
commit 614b3b3862
1 file changed
+1 -1
+1 -1
View File
@@ -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 "+