diff --git a/routing/pathfind_test.go b/routing/pathfind_test.go index f4d7db3f..0a4d4eeb 100644 --- a/routing/pathfind_test.go +++ b/routing/pathfind_test.go @@ -654,7 +654,7 @@ func TestPathInsufficientCapacity(t *testing.T) { // though we have a 2-hop link. target := aliases["sophon"] - const payAmt = btcutil.SatoshiPerBitcoin + payAmt := lnwire.NewMSatFromSatoshis(btcutil.SatoshiPerBitcoin) _, err = findPath(nil, graph, sourceNode, target, ignoredVertexes, ignoredEdges, payAmt) if !IsError(err, ErrNoPathFound) {