From ed5d0a9687ccb1d031085eb5771de1b5db173525 Mon Sep 17 00:00:00 2001 From: Svetoslav Borislavov Date: Wed, 20 Nov 2024 17:58:43 +0200 Subject: [PATCH] feat: update _makeTransactionData of NodeUpdateTransaction Signed-off-by: Svetoslav Borislavov --- src/node/NodeUpdateTransaction.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/node/NodeUpdateTransaction.js b/src/node/NodeUpdateTransaction.js index 0ea77d3c0..3348e38f8 100644 --- a/src/node/NodeUpdateTransaction.js +++ b/src/node/NodeUpdateTransaction.js @@ -477,18 +477,18 @@ export default class NodeUpdateTransaction extends Transaction { endpoint._toProtobuf(), ) : null, - gossipCaCertificate: { - value: - this._gossipCaCertificate != null - ? this._gossipCaCertificate - : null, - }, - grpcCertificateHash: { - value: - this._grpcCertificateHash != null - ? this._grpcCertificateHash - : null, - }, + gossipCaCertificate: + this._gossipCaCertificate != null + ? { + value: this._gossipCaCertificate, + } + : null, + grpcCertificateHash: + this._grpcCertificateHash != null + ? { + value: this._grpcCertificateHash, + } + : null, adminKey: this._adminKey != null ? this._adminKey._toProtobufKey() : null, nodeId: this._nodeId != null ? this._nodeId : null,