From 980517559d77ea79f62acfacd8c926d3aceb4eb5 Mon Sep 17 00:00:00 2001 From: einhorn_b Date: Fri, 5 Jan 2024 17:12:30 +0100 Subject: [PATCH] fix lost update --- dlt-connector/src/data/proto/3_3/TransactionBody.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlt-connector/src/data/proto/3_3/TransactionBody.ts b/dlt-connector/src/data/proto/3_3/TransactionBody.ts index c30d2a6e7..0c2733606 100644 --- a/dlt-connector/src/data/proto/3_3/TransactionBody.ts +++ b/dlt-connector/src/data/proto/3_3/TransactionBody.ts @@ -118,12 +118,14 @@ export class TransactionBody extends Message { public getRecipientPublicKey(): Buffer | undefined { if (this.transfer) { + // this.transfer.recipient contains the publicKey of the recipient return this.transfer.recipient } if (this.creation) { return this.creation.recipient.pubkey } if (this.deferredTransfer) { + // this.deferredTransfer.transfer.recipient contains the publicKey of the recipient return this.deferredTransfer.transfer.recipient } return undefined