From 62d7ffb7fe2631ad4f53b92c7b7b121b6626f30f Mon Sep 17 00:00:00 2001 From: im-adithya Date: Tue, 5 Dec 2023 12:29:49 +0530 Subject: [PATCH] fix: outgoing exceeding tests --- integration_tests/internal_payment_test.go | 2 +- lib/service/user.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/integration_tests/internal_payment_test.go b/integration_tests/internal_payment_test.go index d68833a..dcc9c7f 100644 --- a/integration_tests/internal_payment_test.go +++ b/integration_tests/internal_payment_test.go @@ -233,7 +233,7 @@ func (suite *PaymentTestSuite) TestOutgoingExceededChecks() { //try to make external payment //which should fail //create external invoice - externalSatRequested := 500 + externalSatRequested := 400 externalInvoice := lnrpc.Invoice{ Memo: "integration tests: external pay from user", Value: int64(externalSatRequested), diff --git a/lib/service/user.go b/lib/service/user.go index 1ed89d1..107408c 100644 --- a/lib/service/user.go +++ b/lib/service/user.go @@ -277,6 +277,5 @@ func (svc *LndhubService) GetVolumeOverPeriod(ctx context.Context, userId int64, if err != nil { return 0, err } - fmt.Println(result, "volume ") return result, nil }