mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Wallet: fix rpc_wallet_tests
This commit is contained in:
parent
2fd62b3bf2
commit
e57480840c
1 changed files with 5 additions and 0 deletions
|
|
@ -27,6 +27,8 @@ BOOST_FIXTURE_TEST_SUITE(rpc_wallet_tests, WalletTestingSetup)
|
|||
|
||||
BOOST_AUTO_TEST_CASE(rpc_addmultisig)
|
||||
{
|
||||
|
||||
|
||||
rpcfn_type addmultisig = tableRPC["addmultisigaddress"]->actor;
|
||||
|
||||
// old, 65-byte-long:
|
||||
|
|
@ -74,6 +76,9 @@ BOOST_AUTO_TEST_CASE(rpc_wallet)
|
|||
{
|
||||
LOCK(pwalletMain->cs_wallet);
|
||||
|
||||
// Need to set bitcoin asset for listreceivedby* tests
|
||||
pwalletMain->SetAssetPair("bitcoin", BITCOINID);
|
||||
|
||||
demoPubkey = pwalletMain->GenerateNewKey();
|
||||
demoAddress = CBitcoinAddress(CTxDestination(demoPubkey.GetID()));
|
||||
string strPurpose = "receive";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue