aboutsummaryrefslogtreecommitdiff
path: root/tests/libwallet_api_tests/main.cpp
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-09-27 23:45:03 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-09-27 23:45:03 +0300
commita7882da2f6a80d732f6b2965a1a62e6976f7e916 (patch)
treea0a3d174fb9491ea942ec5d90f3093f8b5216069 /tests/libwallet_api_tests/main.cpp
parentformatting: 2-spaces indentation (diff)
downloadmonero-a7882da2f6a80d732f6b2965a1a62e6976f7e916.tar.xz
libwallet_api: tests: compilation errors fixed
Diffstat (limited to '')
-rw-r--r--tests/libwallet_api_tests/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libwallet_api_tests/main.cpp b/tests/libwallet_api_tests/main.cpp
index 7cba5b8b0..0b9bc4aa5 100644
--- a/tests/libwallet_api_tests/main.cpp
+++ b/tests/libwallet_api_tests/main.cpp
@@ -960,7 +960,7 @@ TEST_F(WalletTest2, WalletCallbackNewBlock)
// make sure testnet daemon is running
ASSERT_TRUE(wallet_src->init(TESTNET_DAEMON_ADDRESS, 0));
ASSERT_TRUE(wallet_src->refresh());
- uint64_t bc1 = wallet_src->currentBlockChainHeight();
+ uint64_t bc1 = wallet_src->blockChainHeight();
std::cout << "** Block height: " << bc1 << std::endl;
@@ -974,7 +974,7 @@ TEST_F(WalletTest2, WalletCallbackNewBlock)
std::cerr << "TEST: newblock lock acquired...\n";
ASSERT_TRUE(wallet_listener->newblock_triggered);
ASSERT_TRUE(wallet_listener->update_triggered);
- uint64_t bc2 = wallet_src->currentBlockChainHeight();
+ uint64_t bc2 = wallet_src->blockChainHeight();
std::cout << "** Block height: " << bc2 << std::endl;
ASSERT_TRUE(bc2 > bc1);
wmgr->closeWallet(wallet_src);