mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-04 18:01:57 +01:00
Merge pull request #3081 from halseth/route-remove-totalfees
routing/route+multi: remove redundant TotalFees field
This commit is contained in:
@@ -198,7 +198,7 @@ func TestFindRoutesWithFeeLimit(t *testing.T) {
|
||||
t.Fatalf("unable to find any routes: %v", err)
|
||||
}
|
||||
|
||||
if route.TotalFees > restrictions.FeeLimit {
|
||||
if route.TotalFees() > restrictions.FeeLimit {
|
||||
t.Fatalf("route exceeded fee limit: %v", spew.Sdump(route))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user