Some functions that return void call SDK functions that potentially return an error code, which is currently unchecked. The error doesn't ever happen since the parameters of the functions are correct, but we should add a LEDGER_ASSERT as defensive programming.
Functions to cover: crypto_get_checksum, crypto_ripemd160, crypto_hash160, crypto_tr_tagged_hash_init and crypto_tr_tapleaf_hash_init.
Some functions that return void call SDK functions that potentially return an error code, which is currently unchecked. The error doesn't ever happen since the parameters of the functions are correct, but we should add a
LEDGER_ASSERT
as defensive programming.Functions to cover:
crypto_get_checksum
,crypto_ripemd160
,crypto_hash160
,crypto_tr_tagged_hash_init
andcrypto_tr_tapleaf_hash_init
.