mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-10 12:44:31 +00:00
fix
This commit is contained in:
parent
dfc283c757
commit
a3422696ba
1 changed files with 11 additions and 11 deletions
|
@ -89,7 +89,7 @@ String constructDerivePath({
|
|||
case 0x80: // mainnet wif
|
||||
switch (derivePathType) {
|
||||
case DerivePathType.bip44:
|
||||
coinType = "0";
|
||||
coinType = "145";
|
||||
break;
|
||||
case DerivePathType.eCash44:
|
||||
coinType = "899";
|
||||
|
@ -558,16 +558,16 @@ class ECashWallet extends CoinServiceAPI
|
|||
startingIndex,
|
||||
DerivePathType.eCash44,
|
||||
),
|
||||
_generateAddressForChain(
|
||||
receiveChain,
|
||||
startingIndex,
|
||||
DerivePathType.bip44,
|
||||
),
|
||||
_generateAddressForChain(
|
||||
changeChain,
|
||||
startingIndex,
|
||||
DerivePathType.bip44,
|
||||
),
|
||||
// _generateAddressForChain(
|
||||
// receiveChain,
|
||||
// startingIndex,
|
||||
// DerivePathType.bip44,
|
||||
// ),
|
||||
// _generateAddressForChain(
|
||||
// changeChain,
|
||||
// startingIndex,
|
||||
// DerivePathType.bip44,
|
||||
// ),
|
||||
]);
|
||||
|
||||
await db.putAddresses(initialAddresses);
|
||||
|
|
Loading…
Reference in a new issue