upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
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;
642int nHDKeySchema = HD_SCHEMA_NONE; 642int nHDKeySchema = HD_SCHEMA_NONE;
643unsigned int nHDReceiveNext = 0; 643unsigned int nHDReceiveNext = 0;
644unsigned int nHDChangeNext = 0; 644unsigned int nHDChangeNext = 0;
645unsigned int nHDCoinType = HD_BIP44_COIN_TYPE_BITFLASH_PROVISIONAL; 645unsigned int nHDCoinType = HD_BIP44_COIN_TYPE_BITFLASH;
646 646
647string HDKeySchemaName(int nSchema) 647string 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