mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 12:28:09 +00:00
feat(python): improve error message when prev_txes are not provided
This commit is contained in:
parent
2327cab436
commit
8c460dcbf3
@ -199,6 +199,9 @@ def sign_tx(
|
||||
(`inputs_count`, `outputs_count`, `coin_name`) will be inferred from the arguments
|
||||
and cannot be overriden by kwargs.
|
||||
"""
|
||||
if prev_txes is None:
|
||||
prev_txes = {}
|
||||
|
||||
if details is not None:
|
||||
warnings.warn(
|
||||
"'details' argument is deprecated, use kwargs instead",
|
||||
|
Loading…
Reference in New Issue
Block a user