aboutsummaryrefslogtreecommitdiff
path: root/src/test/multisig_tests.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-12-12 14:31:38 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2018-12-13 09:37:23 +0100
commitc84c2b8c92eb56b3b3793fc95265158f5eeb00db (patch)
tree38a2fd3c0b2c44f4d68bb7c7e41609207f701a10 /src/test/multisig_tests.cpp
parent6d0a14703e288d72ff19d4d89defbc853233899f (diff)
tests: Test for expected return values when calling functions returning a success code
Diffstat (limited to 'src/test/multisig_tests.cpp')
-rw-r--r--src/test/multisig_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/multisig_tests.cpp b/src/test/multisig_tests.cpp
index 33308c5749..8afe4b8a59 100644
--- a/src/test/multisig_tests.cpp
+++ b/src/test/multisig_tests.cpp
@@ -179,7 +179,7 @@ BOOST_AUTO_TEST_CASE(multisig_Sign)
for (int i = 0; i < 4; i++)
{
key[i].MakeNewKey(true);
- keystore.AddKey(key[i]);
+ BOOST_CHECK(keystore.AddKey(key[i]));
}
CScript a_and_b;