From 2d1dedf5ecdc7648dd143bcb4bf6e333b0ce6daa Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 22 Feb 2022 20:11:55 +0100 Subject: [PATCH] change in database, no idea how this was changed --- .../entity/0016-transaction_signatures/Transaction.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/database/entity/0016-transaction_signatures/Transaction.ts b/database/entity/0016-transaction_signatures/Transaction.ts index 5410d010b..a68a7a519 100644 --- a/database/entity/0016-transaction_signatures/Transaction.ts +++ b/database/entity/0016-transaction_signatures/Transaction.ts @@ -4,6 +4,12 @@ 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 @@ -31,4 +37,7 @@ export class Transaction extends BaseEntity { @OneToOne(() => TransactionCreation, (transactionCreation) => transactionCreation.transaction) transactionCreation: TransactionCreation + sendReceiverUserId: number + sendReceiverPublicKey: Buffer + sendSenderFinalBalance: bigint }