@@ -2959,6 +2959,42 @@ func testCustomChannelsLiquidityEdgeCasesCore(ctx context.Context,
29592959 payInvoiceWithSatoshi (
29602960 t .t , dave , invoiceResp , withFeeLimit (100_000_000 ),
29612961 )
2962+
2963+ logBalance (t .t , nodes , assetID , "after policy checks" )
2964+
2965+ resBuy , err := daveTap .RfqClient .AddAssetBuyOrder (
2966+ ctx , & rfqrpc.AddAssetBuyOrderRequest {
2967+ AssetSpecifier : & assetSpecifier ,
2968+ AssetMaxAmt : 1_000 ,
2969+ Expiry : uint64 (inOneHour .Unix ()),
2970+ PeerPubKey : charlie .PubKey [:],
2971+ TimeoutSeconds : 100 ,
2972+ },
2973+ )
2974+ require .NoError (t .t , err )
2975+
2976+ scid := resBuy .GetAcceptedQuote ().Scid
2977+
2978+ invResp := createAssetInvoice (
2979+ t .t , charlie , dave , 1_000 , assetID ,
2980+ withInvGroupKey (groupID ), withRouteHints ([]* lnrpc.RouteHint {
2981+ {
2982+ HopHints : []* lnrpc.HopHint {
2983+ {
2984+ NodeId : charlie .PubKeyStr ,
2985+ ChanId : scid ,
2986+ },
2987+ },
2988+ },
2989+ }),
2990+ )
2991+
2992+ payInvoiceWithAssets (
2993+ t .t , charlie , dave , invResp .PaymentRequest , assetID ,
2994+ withGroupKey (groupID ),
2995+ )
2996+
2997+ logBalance (t .t , nodes , assetID , "after invoice with route hints" )
29622998}
29632999
29643000// testCustomChannelsLiquidityEdgeCases is a test that runs through some
0 commit comments