1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-09 06:50:58 +00:00

mock: fixes error in generated trezorcrypto mock

This commit is contained in:
Dusan Klinec 2018-09-14 17:52:20 +02:00 committed by Jan Pochyla
parent 411c2a2b2a
commit 29ee5dc80c

View File

@ -505,7 +505,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_2(mod_trezorcrypto_bip32_from_seed_obj, mod_trezo
/// def from_mnemonic_cardano(mnemonic: str) -> bytes: /// def from_mnemonic_cardano(mnemonic: str) -> bytes:
/// ''' /// '''
/// Convert mnemonic to hdnode /// Convert mnemonic to hdnode
// ''' /// '''
STATIC mp_obj_t mod_trezorcrypto_bip32_from_mnemonic_cardano(mp_obj_t mnemonic) { STATIC mp_obj_t mod_trezorcrypto_bip32_from_mnemonic_cardano(mp_obj_t mnemonic) {
mp_buffer_info_t mnemo; mp_buffer_info_t mnemo;
mp_get_buffer_raise(mnemonic, &mnemo, MP_BUFFER_READ); mp_get_buffer_raise(mnemonic, &mnemo, MP_BUFFER_READ);