From e57480840cbc7ff2b8b5cdb03d97d56f6c467aee Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Thu, 16 Feb 2017 12:47:39 -0500 Subject: [PATCH] Wallet: fix rpc_wallet_tests --- src/wallet/test/rpc_wallet_tests.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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";