From 6829be190207d56cade0e2b0f8f889590f53a0ac Mon Sep 17 00:00:00 2001 From: Eirik Ogilvie-Wigley Date: Mon, 8 Oct 2018 16:25:29 -0600 Subject: [PATCH] Remove unnecessary call to IsValidPaymentAddress --- src/test/rpc_wallet_tests.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/rpc_wallet_tests.cpp b/src/test/rpc_wallet_tests.cpp index 31540d7d0..d629d9adc 100644 --- a/src/test/rpc_wallet_tests.cpp +++ b/src/test/rpc_wallet_tests.cpp @@ -404,8 +404,7 @@ BOOST_AUTO_TEST_CASE(rpc_wallet_z_exportwallet) BOOST_CHECK(addrs.size()==0); // wallet should have one key - auto addr = pwalletMain->GenerateNewSproutZKey(); - BOOST_CHECK(IsValidPaymentAddress(addr)); + libzcash::SproutPaymentAddress addr = pwalletMain->GenerateNewSproutZKey(); pwalletMain->GetSproutPaymentAddresses(addrs); BOOST_CHECK(addrs.size()==1);