mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-15 19:08:07 +00:00
paths: temporarily disable GetPublicKey paths checks
Until trezor/trezor.js#73 is fixed
This commit is contained in:
parent
31f987e988
commit
8cf1ee5e62
@ -3,8 +3,7 @@ from trezor.messages import InputScriptType
|
||||
from trezor.messages.HDNodeType import HDNodeType
|
||||
from trezor.messages.PublicKey import PublicKey
|
||||
|
||||
from apps.common import coins, layout, paths, seed
|
||||
from apps.wallet.sign_tx.addresses import validate_path_for_bitcoin_public_key
|
||||
from apps.common import coins, layout, seed
|
||||
|
||||
|
||||
async def get_public_key(ctx, msg):
|
||||
@ -12,10 +11,6 @@ async def get_public_key(ctx, msg):
|
||||
coin = coins.by_name(coin_name)
|
||||
script_type = msg.script_type or InputScriptType.SPENDADDRESS
|
||||
|
||||
await paths.validate_path(
|
||||
ctx, validate_path_for_bitcoin_public_key, path=msg.address_n, coin=coin
|
||||
)
|
||||
|
||||
curve_name = msg.ecdsa_curve_name
|
||||
if not curve_name:
|
||||
curve_name = coin.curve_name
|
||||
|
Loading…
Reference in New Issue
Block a user