mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-10 23:40:58 +00:00
fix build after cashaddr merge
This commit is contained in:
parent
059555039c
commit
27702ea26a
@ -177,7 +177,7 @@ bool compute_address(const CoinInfo *coin,
|
||||
}
|
||||
ecdsa_get_address_segwit_p2sh(node->public_key, coin->address_type_p2sh, coin->curve->hasher_pubkey, coin->curve->hasher_base58, address, MAX_ADDR_SIZE);
|
||||
} else if (coin->cashaddr_prefix) {
|
||||
ecdsa_get_address_raw(node->public_key, CASHADDR_P2KH | CASHADDR_160, coin->curve->hasher_type, raw);
|
||||
ecdsa_get_address_raw(node->public_key, CASHADDR_P2KH | CASHADDR_160, coin->curve->hasher_pubkey, raw);
|
||||
if (!cash_addr_encode(address, coin->cashaddr_prefix, raw, 21)) {
|
||||
return 0;
|
||||
}
|
||||
|
2
vendor/trezor-crypto
vendored
2
vendor/trezor-crypto
vendored
@ -1 +1 @@
|
||||
Subproject commit b0af15909649a311c2af3c4d559fcdbbfc21220d
|
||||
Subproject commit e81fb38ab452f2170769e9c454b10caaf8869974
|
Loading…
Reference in New Issue
Block a user