feat(python): improve error message when prev_txes are not provided

pull/1324/head
matejcik 4 years ago committed by matejcik
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…
Cancel
Save