@@ -2897,7 +2897,7 @@ func testCustomChannelsLiquidtyEdgeCasesCore(ctx context.Context,
2897
2897
// amount of 354 sats.
2898
2898
createAssetInvoice (
2899
2899
t .t , dave , charlie , 1 , assetID , withInvoiceErrSubStr (
2900
- "1 asset units, as the minimal transportable amount " ,
2900
+ "could not create any quotes for the invoice " ,
2901
2901
),
2902
2902
withInvGroupKey (groupID ),
2903
2903
)
@@ -3067,7 +3067,7 @@ func testCustomChannelsLiquidtyEdgeCasesCore(ctx context.Context,
3067
3067
res , err := charlieTap .RfqClient .AddAssetBuyOrder (
3068
3068
ctx , & rfqrpc.AddAssetBuyOrderRequest {
3069
3069
AssetSpecifier : & assetSpecifier ,
3070
- AssetMaxAmt : 10_000 ,
3070
+ AssetMaxAmt : 1_000 ,
3071
3071
Expiry : uint64 (inOneHour .Unix ()),
3072
3072
PeerPubKey : dave .PubKey [:],
3073
3073
TimeoutSeconds : 10 ,
@@ -3083,7 +3083,7 @@ func testCustomChannelsLiquidtyEdgeCasesCore(ctx context.Context,
3083
3083
// manually generated, quote.
3084
3084
iResp , err := charlie .AddInvoice (ctx , & lnrpc.Invoice {
3085
3085
Memo : "" ,
3086
- Value : 200_000 ,
3086
+ Value : 20_000 ,
3087
3087
RPreimage : bytes .Repeat ([]byte {11 }, 32 ),
3088
3088
CltvExpiry : 60 ,
3089
3089
RouteHints : []* lnrpc.RouteHint {{
@@ -3098,8 +3098,8 @@ func testCustomChannelsLiquidtyEdgeCasesCore(ctx context.Context,
3098
3098
// Now Erin tries to pay the invoice. Since rfq quote cannot satisfy the
3099
3099
// total amount of the invoice this payment will fail.
3100
3100
payInvoiceWithSatoshi (
3101
- t .t , erin , iResp , withPayErrSubStr ( "context deadline exceeded" ),
3102
- withFailure (lnrpc .Payment_FAILED , failureNone ),
3101
+ t .t , erin , iResp ,
3102
+ withFailure (lnrpc .Payment_FAILED , failureNoRoute ),
3103
3103
withGroupKey (groupID ),
3104
3104
)
3105
3105
0 commit comments