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