Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ ValueFromString
Function
ValueFromString
src/test/rpc_tests.cpp:189–194 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
187
}
188
189
static UniValue ValueFromString(const std::string &str)
190
{
191
UniValue value;
192
BOOST_CHECK(value.setNumStr(str));
193
return value;
194
}
195
196
BOOST_AUTO_TEST_CASE(rpc_parse_monetary_values)
197
{
Callers
1
BOOST_AUTO_TEST_CASE
Function · 0.85
Calls
1
setNumStr
Method · 0.80
Tested by
no test coverage detected