minor fix

This commit is contained in:
Matthew Fosse 2024-04-26 15:47:10 -07:00
parent 38e34ec648
commit 7b49b2ad87

View file

@ -287,17 +287,17 @@ class CWBitcoin extends Bitcoin {
}) async { }) async {
List<DerivationInfo> list = []; List<DerivationInfo> list = [];
// var types = await compareDerivationMethods(mnemonic: mnemonic, node: node); List<DerivationType> types = await compareDerivationMethods(mnemonic: mnemonic, node: node);
// if (types.length == 1 && types.first == DerivationType.electrum) { if (types.length == 1 && types.first == DerivationType.electrum) {
// return [ return [
// DerivationInfo( DerivationInfo(
// derivationType: DerivationType.electrum, derivationType: DerivationType.electrum,
// derivationPath: "m/0'/0", derivationPath: "m/0'",
// description: "Electrum", description: "Electrum",
// scriptType: "p2wpkh", scriptType: "p2wpkh",
// ) )
// ]; ];
// } }
final electrumClient = ElectrumClient(); final electrumClient = ElectrumClient();
await electrumClient.connectToUri(node.uri); await electrumClient.connectToUri(node.uri);