From a3422696bad13d99b5209e21ede5cab05faff1a7 Mon Sep 17 00:00:00 2001 From: julian Date: Wed, 17 May 2023 15:55:17 -0600 Subject: [PATCH] fix --- lib/services/coins/ecash/ecash_wallet.dart | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/services/coins/ecash/ecash_wallet.dart b/lib/services/coins/ecash/ecash_wallet.dart index 9cfd1c1ed..5bed07bc4 100644 --- a/lib/services/coins/ecash/ecash_wallet.dart +++ b/lib/services/coins/ecash/ecash_wallet.dart @@ -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);