Skip to content

Commit

Permalink
Logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
amanzag committed Oct 28, 2024
1 parent a955f2a commit 5409b48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions server-backend/src/SwapInController.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BadRequestException, Body, Controller, Get, Logger, Param, Post, Query, UsePipes } from '@nestjs/common';
import { BadRequestException, Body, Controller, Get, Param, Post, Query, UsePipes } from '@nestjs/common';
import { createZodDto, ZodValidationPipe } from '@anatine/zod-nestjs';
import assert from 'node:assert';
import { ECPairFactory } from 'ecpair';
Expand All @@ -9,13 +9,7 @@ import { DataSource } from 'typeorm';
import { SwapIn } from './entities/SwapIn.js';
import { LndService } from './LndService.js';
import { buildContractSpendBasePsbt, buildTransactionWithFee } from './bitcoin-utils.js';
import {
GetSwapInResponse,
PsbtResponse,
signContractSpend,
swapInRequestSchema,
txRequestSchema,
} from '@40swap/shared';
import { GetSwapInResponse, PsbtResponse, signContractSpend, swapInRequestSchema, txRequestSchema } from '@40swap/shared';
import { BitcoinConfigurationDetails, BitcoinService } from './BitcoinService.js';
import { SwapService } from './SwapService.js';

Expand Down
2 changes: 1 addition & 1 deletion server-backend/src/SwapOutController.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NbxplorerService } from './NbxplorerService.js';
import { DataSource } from 'typeorm';
import { createZodDto } from '@anatine/zod-nestjs';
import { BadRequestException, Body, Controller, Get, Logger, Param, Post, Query } from '@nestjs/common';
import { BadRequestException, Body, Controller, Get, Param, Post, Query } from '@nestjs/common';
import { buildContractSpendBasePsbt, buildTransactionWithFee } from './bitcoin-utils.js';
import { ECPairFactory } from 'ecpair';
import * as ecc from 'tiny-secp256k1';
Expand Down

0 comments on commit 5409b48

Please sign in to comment.