mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-19 12:58:13 +00:00
Fixed array sizes again. (#194)
This is the correct fix for 09917920ba
(how the code was meant to be written).
This commit is contained in:
parent
cf04279774
commit
9efc5bc93c
@ -64,8 +64,8 @@ bool compute_address(const CoinType *coin,
|
|||||||
bool has_multisig, const MultisigRedeemScriptType *multisig,
|
bool has_multisig, const MultisigRedeemScriptType *multisig,
|
||||||
char address[MAX_ADDR_SIZE]) {
|
char address[MAX_ADDR_SIZE]) {
|
||||||
|
|
||||||
uint8_t raw[34];
|
uint8_t raw[MAX_ADDR_RAW_SIZE];
|
||||||
uint8_t digest[MAX_ADDR_RAW_SIZE];
|
uint8_t digest[32];
|
||||||
size_t prelen;
|
size_t prelen;
|
||||||
|
|
||||||
if (has_multisig) {
|
if (has_multisig) {
|
||||||
|
Loading…
Reference in New Issue
Block a user