mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
refactor: replace boost::lexical_cast<std::string> with to_string (#5883)
This change replaces boost::lexical_cast<std::string> with to_string in some of the tests to make them more readable. Co-authored-by: Bart Thomee <11445373+bthomee@users.noreply.github.com>
This commit is contained in:
@@ -411,7 +411,7 @@ Env::sign_and_submit(JTx const& jt, Json::Value params)
|
||||
if (params.isNull())
|
||||
{
|
||||
// Use the command line interface
|
||||
auto const jv = boost::lexical_cast<std::string>(jt.jv);
|
||||
auto const jv = to_string(jt.jv);
|
||||
jr = rpc("submit", passphrase, jv);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user