mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge 265250687b into merged_master (Bitcoin PR bitcoin/bitcoin#28455)
This commit is contained in:
commit
e2aa52246d
16 changed files with 63 additions and 100 deletions
|
|
@ -136,10 +136,8 @@ BOOST_AUTO_TEST_CASE(script_standard_Solver_success)
|
|||
|
||||
BOOST_AUTO_TEST_CASE(script_standard_Solver_failure)
|
||||
{
|
||||
CKey key;
|
||||
CPubKey pubkey;
|
||||
key.MakeNewKey(true);
|
||||
pubkey = key.GetPubKey();
|
||||
CKey key = GenerateRandomKey();
|
||||
CPubKey pubkey = key.GetPubKey();
|
||||
|
||||
CScript s;
|
||||
std::vector<std::vector<unsigned char> > solutions;
|
||||
|
|
@ -192,10 +190,8 @@ BOOST_AUTO_TEST_CASE(script_standard_Solver_failure)
|
|||
|
||||
BOOST_AUTO_TEST_CASE(script_standard_ExtractDestination)
|
||||
{
|
||||
CKey key;
|
||||
CPubKey pubkey;
|
||||
key.MakeNewKey(true);
|
||||
pubkey = key.GetPubKey();
|
||||
CKey key = GenerateRandomKey();
|
||||
CPubKey pubkey = key.GetPubKey();
|
||||
|
||||
CScript s;
|
||||
CTxDestination address;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue