Skip to content

Commit

Permalink
fix: integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
dolcalmi committed Dec 21, 2024
1 parent 8de9220 commit f709642
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/api/test/integration/services/lnd-service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {

import { LND1_PUBKEY, MS_PER_SEC } from "@/config"

import { WalletCurrency } from "@/domain/shared"
import { ONE_SAT, WalletCurrency } from "@/domain/shared"
import { toSats } from "@/domain/bitcoin"
import {
InvoiceNotFoundError,
Expand Down Expand Up @@ -304,7 +304,7 @@ describe("Lnd", () => {
const paid = await lndService.payInvoiceViaPaymentDetails({
decodedInvoice: lnInvoice,
btcPaymentAmount,
maxFeeAmount: LnFees().maxProtocolAndBankFee(btcPaymentAmount),
maxFeeAmount: ONE_SAT,
})
expect(paid).toBeInstanceOf(RouteNotFoundError)
})
Expand Down

0 comments on commit f709642

Please sign in to comment.