mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-10 20:54:33 +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
|
case 0x80: // mainnet wif
|
||||||
switch (derivePathType) {
|
switch (derivePathType) {
|
||||||
case DerivePathType.bip44:
|
case DerivePathType.bip44:
|
||||||
coinType = "0";
|
coinType = "145";
|
||||||
break;
|
break;
|
||||||
case DerivePathType.eCash44:
|
case DerivePathType.eCash44:
|
||||||
coinType = "899";
|
coinType = "899";
|
||||||
|
@ -558,16 +558,16 @@ class ECashWallet extends CoinServiceAPI
|
||||||
startingIndex,
|
startingIndex,
|
||||||
DerivePathType.eCash44,
|
DerivePathType.eCash44,
|
||||||
),
|
),
|
||||||
_generateAddressForChain(
|
// _generateAddressForChain(
|
||||||
receiveChain,
|
// receiveChain,
|
||||||
startingIndex,
|
// startingIndex,
|
||||||
DerivePathType.bip44,
|
// DerivePathType.bip44,
|
||||||
),
|
// ),
|
||||||
_generateAddressForChain(
|
// _generateAddressForChain(
|
||||||
changeChain,
|
// changeChain,
|
||||||
startingIndex,
|
// startingIndex,
|
||||||
DerivePathType.bip44,
|
// DerivePathType.bip44,
|
||||||
),
|
// ),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
await db.putAddresses(initialAddresses);
|
await db.putAddresses(initialAddresses);
|
||||||
|
|
Loading…
Reference in a new issue