mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-09 20:39:35 +00:00
minor fix
This commit is contained in:
parent
38e34ec648
commit
7b49b2ad87
1 changed files with 11 additions and 11 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue