1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-06 14:52:33 +00:00
trezor-firmware/core/mocks/generated/trezorcrypto/bech32.pyi
2022-10-17 15:20:46 +02:00

12 lines
220 B
Python

from typing import *
# extmod/modtrezorcrypto/modtrezorcrypto-bech32.h
def decode(
bech: str,
max_bech_len: int = 90,
) -> tuple[str, list[int], Encoding]:
"""
Decode a Bech32 or Bech32m string
"""