From ff63706f5197ff27b49994b393dfa4df643bd42b Mon Sep 17 00:00:00 2001 From: ogerly Date: Wed, 23 Feb 2022 13:14:10 +0100 Subject: [PATCH] Removing code where no one knows where it comes from --- .../entity/0016-transaction_signatures/Transaction.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/database/entity/0016-transaction_signatures/Transaction.ts b/database/entity/0016-transaction_signatures/Transaction.ts index b2b29d1c2..5e31355db 100644 --- a/database/entity/0016-transaction_signatures/Transaction.ts +++ b/database/entity/0016-transaction_signatures/Transaction.ts @@ -4,14 +4,6 @@ import { TransactionSendCoin } from '../0001-init_db/TransactionSendCoin' @Entity('transactions') export class Transaction extends BaseEntity { - userId(userId: any) { - throw new Error('Method not implemented.') - } - - amount(amount: any): number { - throw new Error('Method not implemented.') - } - // TODO the id is defined as bigint(20) - there might be problems with that: https://github.com/typeorm/typeorm/issues/2400 @PrimaryGeneratedColumn('increment', { unsigned: true }) id: number