diff options
author | josibake <josibake@protonmail.com> | 2022-07-29 12:30:38 +0200 |
---|---|---|
committer | josibake <josibake@protonmail.com> | 2022-08-10 15:19:32 +0200 |
commit | 0760ce0b9e646b6c86f4cc890c6ab78103a242ab (patch) | |
tree | e247961f7634ab6fd586cee07d326c10d26b1e1a /src/wallet/test | |
parent | db09aec9378c5e8cc49c866fa50bfcb6c567d66c (diff) |
test: add missing BOOST_ASSERT
this was missed in the original PR
Diffstat (limited to 'src/wallet/test')
-rw-r--r-- | src/wallet/test/availablecoins_tests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/test/availablecoins_tests.cpp b/src/wallet/test/availablecoins_tests.cpp index eeecee2e2c..c8adef7fc2 100644 --- a/src/wallet/test/availablecoins_tests.cpp +++ b/src/wallet/test/availablecoins_tests.cpp @@ -89,6 +89,7 @@ BOOST_FIXTURE_TEST_CASE(BasicOutputTypesTest, AvailableCoinsTestingSetup) // P2SH-SEGWIT dest = wallet->GetNewDestination(OutputType::P2SH_SEGWIT, ""); + BOOST_ASSERT(dest); AddTx(CRecipient{{GetScriptForDestination(*dest)}, 3 * COIN, /*fSubtractFeeFromAmount=*/true}); available_coins = AvailableCoins(*wallet); BOOST_CHECK_EQUAL(available_coins.coins[OutputType::P2SH_SEGWIT].size(), 2U); |