diff --git a/src/wallet/test/rpc_wallet_tests.cpp b/src/wallet/test/rpc_wallet_tests.cpp index 4e7d177f51..514d018561 100644 --- a/src/wallet/test/rpc_wallet_tests.cpp +++ b/src/wallet/test/rpc_wallet_tests.cpp @@ -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";