diff --git a/cw_bitcoin/lib/electrum_wallet.dart b/cw_bitcoin/lib/electrum_wallet.dart index cf46ae2c8..3b07fd225 100644 --- a/cw_bitcoin/lib/electrum_wallet.dart +++ b/cw_bitcoin/lib/electrum_wallet.dart @@ -112,10 +112,17 @@ abstract class ElectrumWalletBase "To create a Wallet you need either a seed or an xpub. This should not happen"); } + print("currency: $currency"); + print("network: $network"); + print("seedBytes: $seedBytes"); + print("xpub: $xpub"); + print("derivationInfo: $derivationInfo"); + if (seedBytes != null) { switch (currency) { case CryptoCurrency.btc: case CryptoCurrency.ltc: + case CryptoCurrency.tbtc: return Bip32Slip10Secp256k1.fromSeed(seedBytes).derivePath( _hardenedDerivationPath(derivationInfo?.derivationPath ?? electrum_path)) as Bip32Slip10Secp256k1;