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:
Mayukha Vadari
2025-10-16 08:46:21 -04:00
committed by GitHub
parent a422855ea7
commit 640ce4988f
10 changed files with 91 additions and 236 deletions

View File

@@ -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