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