1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-25 17:09:44 +00:00

change smartcash curve (#202)

This commit is contained in:
leoreinaux 2018-08-30 07:04:06 -03:00 committed by Pavol Rusnak
parent 0a2f9bb10c
commit 31b8e872ba
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
"website": "https://smarcash.cc",
"github": "https://github.com/SmartCash/Core-Smart",
"maintainer": "Leandro Reinaux <leoreinaux@gmail.com>",
"curve_name": "secp256k1",
"curve_name": "secp256k1_smart",
"address_type": 63,
"address_type_p2sh": 18,
"maxfee_kb": 1000000,

View File

@ -5,7 +5,7 @@
"website": "https://smartcash.cc",
"github": "https://github.com/SmartCash/Core-Smart",
"maintainer": "Leandro Reinaux <leoreinaux@gmail.com>",
"curve_name": "secp256k1",
"curve_name": "secp256k1_smart",
"address_type": 65,
"address_type_p2sh": 21,
"maxfee_kb": 1000000,

View File

@ -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),