Skip to content

Commit 0760ce0

Browse files
committed
test: add missing BOOST_ASSERT
this was missed in the original PR
1 parent db09aec commit 0760ce0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wallet/test/availablecoins_tests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ BOOST_FIXTURE_TEST_CASE(BasicOutputTypesTest, AvailableCoinsTestingSetup)
8989

9090
// P2SH-SEGWIT
9191
dest = wallet->GetNewDestination(OutputType::P2SH_SEGWIT, "");
92+
BOOST_ASSERT(dest);
9293
AddTx(CRecipient{{GetScriptForDestination(*dest)}, 3 * COIN, /*fSubtractFeeFromAmount=*/true});
9394
available_coins = AvailableCoins(*wallet);
9495
BOOST_CHECK_EQUAL(available_coins.coins[OutputType::P2SH_SEGWIT].size(), 2U);

0 commit comments

Comments
 (0)