From c5ea5a8b40de4ac29f84905a195bbcb4f9884901 Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 22 Feb 2022 20:24:15 +0100 Subject: [PATCH] yarn lint --fix --- database/entity/0016-transaction_signatures/Transaction.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/database/entity/0016-transaction_signatures/Transaction.ts b/database/entity/0016-transaction_signatures/Transaction.ts index a68a7a519..b2b29d1c2 100644 --- a/database/entity/0016-transaction_signatures/Transaction.ts +++ b/database/entity/0016-transaction_signatures/Transaction.ts @@ -7,9 +7,11 @@ 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 @@ -37,6 +39,7 @@ export class Transaction extends BaseEntity { @OneToOne(() => TransactionCreation, (transactionCreation) => transactionCreation.transaction) transactionCreation: TransactionCreation + sendReceiverUserId: number sendReceiverPublicKey: Buffer sendSenderFinalBalance: bigint