1
0
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:
Pavol Rusnak 2018-04-05 11:56:25 +02:00
parent 059555039c
commit 27702ea26a
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

@ -1 +1 @@
Subproject commit b0af15909649a311c2af3c4d559fcdbbfc21220d
Subproject commit e81fb38ab452f2170769e9c454b10caaf8869974