Skip to content

Commit 473b812

Browse files
committed
unit-test/keystore: add missing line comparing a commitment
C compiler warned about an unused var...
1 parent 8ffbb5e commit 473b812

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/unit-test/test_keystore.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ static void _test_keystore_secp256k1_nonce_commit(void** state)
240240
const uint8_t expected_commitment[EC_PUBLIC_KEY_LEN] =
241241
"\x02\xfd\xcf\x79\xf9\xc0\x3f\x6a\xcc\xc6\x56\x95\xa1\x90\x82\xe3\x0b\xfb\x9e\xdc\x93"
242242
"\x04\x5a\x03\x05\x8a\x99\x09\xe4\x9b\x1a\x37\x7b";
243+
assert_memory_equal(expected_commitment, commitment, sizeof(commitment));
243244
}
244245
}
245246

0 commit comments

Comments
 (0)