From 31b8e872babfd3bf2df5845bea70a492789793eb Mon Sep 17 00:00:00 2001 From: leoreinaux Date: Thu, 30 Aug 2018 07:04:06 -0300 Subject: [PATCH] change smartcash curve (#202) --- defs/bitcoin/smartcash.json | 2 +- defs/bitcoin/smartcash_testnet.json | 2 +- tools/coin_info.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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),