aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-05-02 13:59:53 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-05-04 10:40:48 -0400
commitfa47cf9d95dc2c2822fc96df16f179176935bf96 (patch)
tree9bd93ec524acedceab4c4c25307f80fc3d70764f /src/test
parentae32e5ce3d268881cbf631de1903b2a414bb64e1 (diff)
wallet: Fix typo in assert that is compile-time true
Diffstat (limited to 'src/test')
-rw-r--r--src/test/script_standard_tests.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/script_standard_tests.cpp b/src/test/script_standard_tests.cpp
index de990d9254..b185d3b4ac 100644
--- a/src/test/script_standard_tests.cpp
+++ b/src/test/script_standard_tests.cpp
@@ -13,6 +13,12 @@
BOOST_FIXTURE_TEST_SUITE(script_standard_tests, BasicTestingSetup)
+BOOST_AUTO_TEST_CASE(dest_default_is_no_dest)
+{
+ CTxDestination dest;
+ BOOST_CHECK(!IsValidDestination(dest));
+}
+
BOOST_AUTO_TEST_CASE(script_standard_Solver_success)
{
CKey keys[3];