From 22fecb414a67d7b053ba82f2a6be6810be4c4e7e Mon Sep 17 00:00:00 2001 From: Saleem Rashid Date: Mon, 18 Dec 2017 16:21:50 +0000 Subject: [PATCH] coins-check: Update for Decred --- coins-check.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coins-check.py b/coins-check.py index 94dab87557..66cd57728b 100755 --- a/coins-check.py +++ b/coins-check.py @@ -14,6 +14,7 @@ for coin in json.load(open('coins.json')): assert isinstance(coin['coin_name'], str) assert isinstance(coin['coin_shortcut'], str) assert isinstance(coin['coin_label'], str) + assert isinstance(coin['curve_name'], str) assert isinstance(coin['address_type'], int) assert isinstance(coin['address_type_p2sh'], int) assert coin['address_type'] != coin['address_type_p2sh'] @@ -26,6 +27,7 @@ for coin in json.load(open('coins.json')): assert is_hex(coin['xpub_magic']) assert isinstance(coin['bip44'], int) assert isinstance(coin['segwit'], bool) + assert isinstance(coin['decred'], bool) assert coin['forkid'] is None or isinstance(coin['forkid'], int) assert isinstance(coin['force_bip143'], bool) assert isinstance(coin['default_fee_b'], dict)