Check we haven't trashed the first key entry with the second

This commit is contained in:
Jack Grigg 2016-08-11 14:32:00 +12:00
parent 16d140f4a2
commit 6ae516f10b
1 changed files with 1 additions and 0 deletions

View File

@ -96,5 +96,6 @@ TEST(keystore_tests, store_and_retrieve_spending_key_in_encrypted_store) {
keyStore.GetPaymentAddresses(addrs);
ASSERT_EQ(2, addrs.size());
ASSERT_EQ(1, addrs.count(addr));
ASSERT_EQ(1, addrs.count(addr2));
}