diff --git a/defs/bitcoin/smartcash.json b/defs/bitcoin/smartcash.json index 733f283c69..a918d901e4 100644 --- a/defs/bitcoin/smartcash.json +++ b/defs/bitcoin/smartcash.json @@ -5,7 +5,7 @@ "website": "https://smarcash.cc", "github": "https://github.com/SmartCash/Core-Smart", "maintainer": "Leandro Reinaux ", - "curve_name": "secp256k1", + "curve_name": "secp256k1_smart", "address_type": 63, "address_type_p2sh": 18, "maxfee_kb": 1000000, diff --git a/defs/bitcoin/smartcash_testnet.json b/defs/bitcoin/smartcash_testnet.json index 632562ae7f..132ff6848f 100644 --- a/defs/bitcoin/smartcash_testnet.json +++ b/defs/bitcoin/smartcash_testnet.json @@ -5,7 +5,7 @@ "website": "https://smartcash.cc", "github": "https://github.com/SmartCash/Core-Smart", "maintainer": "Leandro Reinaux ", - "curve_name": "secp256k1", + "curve_name": "secp256k1_smart", "address_type": 65, "address_type_p2sh": 21, "maxfee_kb": 1000000, diff --git a/tools/coin_info.py b/tools/coin_info.py index 9f78dd71d2..3eb7198bb9 100755 --- a/tools/coin_info.py +++ b/tools/coin_info.py @@ -114,7 +114,7 @@ BTC_CHECKS = [ check_key("github", str, regex=r"^https://github.com/.*[^/]$"), check_key("maintainer", str), check_key( - "curve_name", str, choice=["secp256k1", "secp256k1_decred", "secp256k1_groestl"] + "curve_name", str, choice=["secp256k1", "secp256k1_decred", "secp256k1_groestl", "secp256k1_smart"] ), check_key("address_type", int), check_key("address_type_p2sh", int),