mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Cleanup.
This commit is contained in:
@@ -272,11 +272,14 @@ void SerializedTransaction::makeITFieldAbsent(SOE_Field field)
|
|||||||
|
|
||||||
Json::Value SerializedTransaction::getJson(int options) const
|
Json::Value SerializedTransaction::getJson(int options) const
|
||||||
{
|
{
|
||||||
Json::Value ret(Json::objectValue);
|
Json::Value ret = Json::objectValue;
|
||||||
ret["Type"] = mFormat->t_name;
|
|
||||||
ret["ID"] = getTransactionID().GetHex();
|
ret["ID"] = getTransactionID().GetHex();
|
||||||
ret["Signature"] = mSignature.getText();
|
ret["Signature"] = mSignature.getText();
|
||||||
ret["Middle"] = mMiddleTxn.getJson(options);
|
|
||||||
|
Json::Value middle = mMiddleTxn.getJson(options);
|
||||||
|
middle["Type"] = mFormat->t_name;
|
||||||
|
ret["Middle"] = middle;
|
||||||
|
|
||||||
ret["Inner"] = mInnerTxn.getJson(options);
|
ret["Inner"] = mInnerTxn.getJson(options);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user