From b5b1118619b59cd8152bd5376f6fe1a62d250a9e Mon Sep 17 00:00:00 2001 From: Bronek Kozicki Date: Thu, 2 Nov 2023 21:14:37 +0000 Subject: [PATCH] Remove obsolete comments --- src/ripple/app/misc/Transaction.h | 1 - src/ripple/protocol/STTx.h | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/ripple/app/misc/Transaction.h b/src/ripple/app/misc/Transaction.h index c3bad22f13d..36815ba0aa0 100644 --- a/src/ripple/app/misc/Transaction.h +++ b/src/ripple/app/misc/Transaction.h @@ -306,7 +306,6 @@ class Transaction : public std::enable_shared_from_this, validatedLedger, fee, accountSeq, availableSeq); } - /// Same as similar overload for STTx::getJson Json::Value getJson(JsonOptions options, bool binary = false) const; diff --git a/src/ripple/protocol/STTx.h b/src/ripple/protocol/STTx.h index c24cc076af3..84524760d6d 100644 --- a/src/ripple/protocol/STTx.h +++ b/src/ripple/protocol/STTx.h @@ -111,12 +111,6 @@ class STTx final : public STObject, public CountedObject Json::Value getJson(JsonOptions options) const override; - /** - If `hash` is set, will store transaction id inside the provided string. - Otherwise it will be stored as nested jss::hash element inside the returned - JSON. Additionally, if `hash` is set and `binary` is true, will not create - nested jss::tx for binary hex; instead will return it as JSON string - */ Json::Value getJson(JsonOptions options, bool binary) const;