diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2eb0e3a..f83164f 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
| @@ -642,7 +642,7 @@ unsigned int nHDNext = 0; | |||
| 642 | int nHDKeySchema = HD_SCHEMA_NONE; | 642 | int nHDKeySchema = HD_SCHEMA_NONE; |
| 643 | unsigned int nHDReceiveNext = 0; | 643 | unsigned int nHDReceiveNext = 0; |
| 644 | unsigned int nHDChangeNext = 0; | 644 | unsigned int nHDChangeNext = 0; |
| 645 | unsigned int nHDCoinType = HD_BIP44_COIN_TYPE_BITFLASH_PROVISIONAL; | 645 | unsigned int nHDCoinType = HD_BIP44_COIN_TYPE_BITFLASH; |
| 646 | 646 | ||
| 647 | string HDKeySchemaName(int nSchema) | 647 | string HDKeySchemaName(int nSchema) |
| 648 | { | 648 | { |
| @@ -798,7 +798,7 @@ bool SetHDSeedFromMnemonic(const string& strMnemonic, string& strErrorRet) | |||
| 798 | 798 | ||
| 799 | if (!CWalletDB().WriteHDMaster(master.privateKey, master.chainCode) || | 799 | if (!CWalletDB().WriteHDMaster(master.privateKey, master.chainCode) || |
| 800 | !CWalletDB().WriteHDSchema(HD_SCHEMA_BIP44) || | 800 | !CWalletDB().WriteHDSchema(HD_SCHEMA_BIP44) || |
| 801 | !CWalletDB().WriteHDCoinType(HD_BIP44_COIN_TYPE_BITFLASH_PROVISIONAL) || | 801 | !CWalletDB().WriteHDCoinType(HD_BIP44_COIN_TYPE_BITFLASH) || |
| 802 | !CWalletDB().WriteHDNext(0) || | 802 | !CWalletDB().WriteHDNext(0) || |
| 803 | !CWalletDB().WriteHDReceiveNext(1) || | 803 | !CWalletDB().WriteHDReceiveNext(1) || |
| 804 | !CWalletDB().WriteHDChangeNext(0)) | 804 | !CWalletDB().WriteHDChangeNext(0)) |
| @@ -811,7 +811,7 @@ bool SetHDSeedFromMnemonic(const string& strMnemonic, string& strErrorRet) | |||
| 811 | nHDKeySchema = HD_SCHEMA_BIP44; | 811 | nHDKeySchema = HD_SCHEMA_BIP44; |
| 812 | nHDReceiveNext = 1; | 812 | nHDReceiveNext = 1; |
| 813 | nHDChangeNext = 0; | 813 | nHDChangeNext = 0; |
| 814 | nHDCoinType = HD_BIP44_COIN_TYPE_BITFLASH_PROVISIONAL; | 814 | nHDCoinType = HD_BIP44_COIN_TYPE_BITFLASH; |
| 815 | 815 | ||
| 816 | // Index 0 is spoken for before it is derived, so a failure below cannot | 816 | // Index 0 is spoken for before it is derived, so a failure below cannot |
| 817 | // leave the pool free to hand it out as an ordinary key. The cost of | 817 | // leave the pool free to hand it out as an ordinary key. The cost of |