message: Fix compile for zerocoin_transactions_tests
diff: @@ -30,17 +30,17 @@ BOOST_AUTO_TEST_CASE(zerocoin_spend_test)
  cWallet.LoadWallet(fFirstRun);
  CMutableTransaction tx;
  CWalletTx* wtx = new CWalletTx(&cWallet, tx);
  - CZerocoinSpend zerocoinSpend;
  - CZerocoinMint zerocoinSelected;
  + bool fMintChange=true;
  + std::vector<CZerocoinSpend> vSpends;
  + std::vector<CZerocoinMint> vMints;
  + CAmount nAmount = COIN;
  - CoinDenomination denom = ZQ_ERROR;
  -
  - std::string vString = cWallet.SpendZerocoin(denom, *wtx, NULL, zerocoinSpend, zerocoinSelected);
  + std::string vString = cWallet.SpendZerocoin(nAmount, *wtx, vSpends, vMints, fMintChange);
  BOOST_CHECK_MESSAGE(vString == "Invalid amount","Failed Invalid Amount Check");
  - denom = ZQ_ONE;
  - vString = cWallet.SpendZerocoin(denom, *wtx, NULL, zerocoinSpend, zerocoinSelected);
  + nAmount = 1;
  + vString = cWallet.SpendZerocoin(nAmount, *wtx, vSpends, vMints, fMintChange);
  // if using "wallet.dat", instead of "unlocked.dat" need this
  /// BOOST_CHECK_MESSAGE(vString == "Error: Wallet locked, unable to create transaction!"," Locked Wallet Check Failed");
  @@ -50,24 +50,4 @@ BOOST_AUTO_TEST_CASE(zerocoin_spend_test)
  }
  -BOOST_AUTO_TEST_CASE(create_zerocoin_spend_transaction_test)
  -{
  -
  - CWalletTx cWalletTx;
  - CReserveKey reservekey(&cWallet);
  - std::string strFailReason;
  - CZerocoinSpend zerocoinSpend;
  - CZerocoinMint zerocoinSelected;
  - CCoinControl* coinControl = NULL;
  -
  - CoinDenomination denom = ZQ_ERROR;
  -
  - bool v = cWallet.CreateZerocoinSpendTransaction(denom, cWalletTx, reservekey, coinControl,
  - zerocoinSpend, zerocoinSelected,
  - strFailReason);
  -
  - BOOST_CHECK_MESSAGE(v,"Problem with Create ZerocoinSpendTransaction");
  -
  -}
  -
  BOOST_AUTO_TEST_SUITE_END()
  