routing: fix TestPathInsufficientCapacity to actually send 1 BTC

This commit is contained in:
Olaoluwa Osuntokun committed 2018-03-23 17:55:15 -07:00
1 parent de1150b78b
commit d5721165de
1 file changed
+1 -1
+1 -1
View File
@@ -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) {