routing: fix TestPathInsufficientCapacity to actually send 1 BTC

This commit is contained in:
Olaoluwa Osuntokun 2018-03-22 17:39:21 -07:00
parent de1150b78b
commit d5721165de
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -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) {