mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-06 14:52:33 +00:00
12 lines
220 B
Python
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
|
|
"""
|