MCPcopy Create free account
hub / github.com/ElementsProject/elements / ScriptFromHex

Function ScriptFromHex

src/test/script_tests.cpp:1387–1391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1385}
1386
1387static CScript ScriptFromHex(const std::string& str)
1388{
1389 std::vector<unsigned char> data = ParseHex(str);
1390 return CScript(data.begin(), data.end());
1391}
1392
1393BOOST_AUTO_TEST_CASE(script_FindAndDelete)
1394{

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.70
AssetTestFunction · 0.70

Calls 4

ParseHexFunction · 0.85
CScriptClass · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected