diff --git a/src/models/flyover-status.model.ts b/src/models/flyover-status.model.ts index 8493081f..5df3f276 100644 --- a/src/models/flyover-status.model.ts +++ b/src/models/flyover-status.model.ts @@ -7,6 +7,8 @@ export class FlyoverStatusModel implements SearchableModel { amount: number; fee: number; blockToBeFinished: number; + senderAddress: string; + recipientAddress: string; getId() { return this.txHash; diff --git a/src/services/flyover.service.ts b/src/services/flyover.service.ts index 6de98ee7..3c205695 100644 --- a/src/services/flyover.service.ts +++ b/src/services/flyover.service.ts @@ -14,6 +14,8 @@ const FlyoverStatusSchema = new mongoose.Schema({ amount: {type: Number, required: true}, fee: {type: Number, required: true}, blockToBeFinished: {type: Number, required: true}, + senderAddress: {type: String, required: true}, + recipientAddress: {type: String, required: true}, }); const FlyoverStatusConnector = mongoose.model('FlyoverStatuses', FlyoverStatusSchema); @@ -64,6 +66,8 @@ export class FlyoverService extends MongoDbDataService