mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
This change renames all occurrences of `namespace ripple` and `ripple::` to `namespace xrpl` and `xrpl::`, respectively, as well as the names of test suites. It also provides a script to allow developers to replicate the changes in their local branch or fork to avoid conflicts.
26 lines
654 B
C++
26 lines
654 B
C++
#include <xrpl/json/json_value.h>
|
|
#include <xrpl/protocol/NFTSyntheticSerializer.h>
|
|
#include <xrpl/protocol/NFTokenID.h>
|
|
#include <xrpl/protocol/NFTokenOfferID.h>
|
|
#include <xrpl/protocol/STTx.h>
|
|
#include <xrpl/protocol/TxMeta.h>
|
|
#include <xrpl/protocol/jss.h>
|
|
|
|
#include <memory>
|
|
|
|
namespace xrpl {
|
|
namespace RPC {
|
|
|
|
void
|
|
insertNFTSyntheticInJson(
|
|
Json::Value& response,
|
|
std::shared_ptr<STTx const> const& transaction,
|
|
TxMeta const& transactionMeta)
|
|
{
|
|
insertNFTokenID(response[jss::meta], transaction, transactionMeta);
|
|
insertNFTokenOfferID(response[jss::meta], transaction, transactionMeta);
|
|
}
|
|
|
|
} // namespace RPC
|
|
} // namespace xrpl
|