From ab5ba2b106e1c5f3e34199977ef34d6314714058 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Tue, 31 Mar 2020 07:22:17 +0000 Subject: [PATCH] common: style --- common/tools/coin_info.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/common/tools/coin_info.py b/common/tools/coin_info.py index ddf20aed7..b87cb2919 100755 --- a/common/tools/coin_info.py +++ b/common/tools/coin_info.py @@ -187,12 +187,16 @@ def validate_btc(coin): if coin["bech32_prefix"] is None: errors.append("bech32_prefix must be defined for segwit-enabled coin") if coin["xpub_magic_segwit_p2sh"] is None: - errors.append("xpub_magic_segwit_p2sh must be defined for segwit-enabled coin") + errors.append( + "xpub_magic_segwit_p2sh must be defined for segwit-enabled coin" + ) else: if coin["bech32_prefix"] is not None: errors.append("bech32_prefix must not be defined for segwit-disabled coin") if coin["xpub_magic_segwit_p2sh"] is not None: - errors.append("xpub_magic_segwit_p2sh must not be defined for segwit-disabled coin") + errors.append( + "xpub_magic_segwit_p2sh must not be defined for segwit-disabled coin" + ) for bc in coin["bitcore"] + coin["blockbook"]: if not bc.startswith("https://"):