routing: fix TestPathInsufficientCapacity to actually send 1 BTC
This commit is contained in:
parent
de1150b78b
commit
d5721165de
@ -654,7 +654,7 @@ func TestPathInsufficientCapacity(t *testing.T) {
|
|||||||
// though we have a 2-hop link.
|
// though we have a 2-hop link.
|
||||||
target := aliases["sophon"]
|
target := aliases["sophon"]
|
||||||
|
|
||||||
const payAmt = btcutil.SatoshiPerBitcoin
|
payAmt := lnwire.NewMSatFromSatoshis(btcutil.SatoshiPerBitcoin)
|
||||||
_, err = findPath(nil, graph, sourceNode, target, ignoredVertexes,
|
_, err = findPath(nil, graph, sourceNode, target, ignoredVertexes,
|
||||||
ignoredEdges, payAmt)
|
ignoredEdges, payAmt)
|
||||||
if !IsError(err, ErrNoPathFound) {
|
if !IsError(err, ErrNoPathFound) {
|
||||||
|
Loading…
Reference in New Issue
Block a user