Skip to content

Commit 42fe6aa

Browse files
author
MarcoFalke
committed
Merge #19493: wallet: Fix clang build in Mac
1e58bcc wallet: Fix clang build in Mac (Anthony Fieroni) Pull request description: Signed-off-by: Anthony Fieroni <[email protected]> Top commit has no ACKs. Tree-SHA512: 19312929af14dab97c37cf4547fbd6589a6de960f1a499c2118bb684240639af4b127cf8dc4d201b41d253cfbb645614a0606d4ecce29f300b10c210d38a961b
2 parents 160800a + 1e58bcc commit 42fe6aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/test/wallet_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,13 +812,13 @@ BOOST_FIXTURE_TEST_CASE(ZapSelectTx, TestChain100Setup)
812812

813813
LOCK(wallet->cs_wallet);
814814
BOOST_CHECK(wallet->HasWalletSpend(prev_hash));
815-
BOOST_CHECK_EQUAL(wallet->mapWallet.count(block_hash), 1);
815+
BOOST_CHECK_EQUAL(wallet->mapWallet.count(block_hash), 1u);
816816

817817
std::vector<uint256> vHashIn{ block_hash }, vHashOut;
818818
BOOST_CHECK_EQUAL(wallet->ZapSelectTx(vHashIn, vHashOut), DBErrors::LOAD_OK);
819819

820820
BOOST_CHECK(!wallet->HasWalletSpend(prev_hash));
821-
BOOST_CHECK_EQUAL(wallet->mapWallet.count(block_hash), 0);
821+
BOOST_CHECK_EQUAL(wallet->mapWallet.count(block_hash), 0u);
822822
}
823823

824824
TestUnloadWallet(std::move(wallet));

0 commit comments

Comments
 (0)