diff --git a/src/ripple/rpc/handlers/AccountTx.cpp b/src/ripple/rpc/handlers/AccountTx.cpp index 005d2053b99..addd9ea0f39 100644 --- a/src/ripple/rpc/handlers/AccountTx.cpp +++ b/src/ripple/rpc/handlers/AccountTx.cpp @@ -324,6 +324,7 @@ populateJsonResponse( if (txn) { Json::Value& jvObj = jvTxns.append(Json::objectValue); + jvObj[jss::validated] = true; auto const json_tx = (context.apiVersion > 1 ? jss::tx_json : jss::tx); @@ -356,7 +357,6 @@ populateJsonResponse( { jvObj[jss::meta] = txnMeta->getJson(JsonOptions::include_date); - jvObj[jss::validated] = true; insertDeliveredAmount( jvObj[jss::meta], context, txn, *txnMeta); insertNFTSyntheticInJson(jvObj, sttx, *txnMeta);