@@ -2516,7 +2516,7 @@ func testCustomChannelsLiquidtyEdgeCasesCore(ctx context.Context,
2516
2516
// amount of 354 sats.
2517
2517
createAssetInvoice (
2518
2518
t .t , dave , charlie , 1 , assetID , withInvoiceErrSubStr (
2519
- "1 asset units, as the minimal transportable amount " ,
2519
+ "could not create any quotes for the invoice " ,
2520
2520
),
2521
2521
withInvGroupKey (groupID ),
2522
2522
)
@@ -2686,7 +2686,7 @@ func testCustomChannelsLiquidtyEdgeCasesCore(ctx context.Context,
2686
2686
res , err := charlieTap .RfqClient .AddAssetBuyOrder (
2687
2687
ctx , & rfqrpc.AddAssetBuyOrderRequest {
2688
2688
AssetSpecifier : & assetSpecifier ,
2689
- AssetMaxAmt : 10_000 ,
2689
+ AssetMaxAmt : 1_000 ,
2690
2690
Expiry : uint64 (inOneHour .Unix ()),
2691
2691
PeerPubKey : dave .PubKey [:],
2692
2692
TimeoutSeconds : 10 ,
@@ -2702,7 +2702,7 @@ func testCustomChannelsLiquidtyEdgeCasesCore(ctx context.Context,
2702
2702
// manually generated, quote.
2703
2703
iResp , err := charlie .AddInvoice (ctx , & lnrpc.Invoice {
2704
2704
Memo : "" ,
2705
- Value : 200_000 ,
2705
+ Value : 20_000 ,
2706
2706
RPreimage : bytes .Repeat ([]byte {11 }, 32 ),
2707
2707
CltvExpiry : 60 ,
2708
2708
RouteHints : []* lnrpc.RouteHint {{
@@ -2717,8 +2717,8 @@ func testCustomChannelsLiquidtyEdgeCasesCore(ctx context.Context,
2717
2717
// Now Erin tries to pay the invoice. Since rfq quote cannot satisfy the
2718
2718
// total amount of the invoice this payment will fail.
2719
2719
payInvoiceWithSatoshi (
2720
- t .t , erin , iResp , withPayErrSubStr ( "context deadline exceeded" ),
2721
- withFailure (lnrpc .Payment_FAILED , failureNone ),
2720
+ t .t , erin , iResp ,
2721
+ withFailure (lnrpc .Payment_FAILED , failureNoRoute ),
2722
2722
withGroupKey (groupID ),
2723
2723
)
2724
2724
0 commit comments