MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ValueFromString

Function ValueFromString

src/test/rpc_tests.cpp:275–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275static UniValue ValueFromString(const std::string& str) noexcept
276{
277 UniValue value;
278 value.setNumStr(str);
279 return value;
280}
281
282BOOST_AUTO_TEST_CASE(rpc_parse_monetary_values)
283{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

setNumStrMethod · 0.80

Tested by

no test coverage detected