mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-24 11:36:21 +00:00
chore: build errors
This commit is contained in:
parent
378e1606d8
commit
aa6f932d8a
2 changed files with 20 additions and 17 deletions
|
@ -1767,7 +1767,7 @@ abstract class ElectrumWalletBase
|
||||||
case ConnectionStatus.disconnected:
|
case ConnectionStatus.disconnected:
|
||||||
if (syncStatus is! NotConnectedSyncStatus &&
|
if (syncStatus is! NotConnectedSyncStatus &&
|
||||||
syncStatus is! ConnectingSyncStatus &&
|
syncStatus is! ConnectingSyncStatus &&
|
||||||
syncStatus is! SyncronizingSyncStatus) {
|
syncStatus is! SynchronizingSyncStatus) {
|
||||||
syncStatus = NotConnectedSyncStatus();
|
syncStatus = NotConnectedSyncStatus();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -122,37 +122,40 @@ import 'package:mobx/mobx.dart';
|
||||||
""";
|
""";
|
||||||
const bitcoinCwPart = "part 'cw_bitcoin.dart';";
|
const bitcoinCwPart = "part 'cw_bitcoin.dart';";
|
||||||
const bitcoinContent = """
|
const bitcoinContent = """
|
||||||
const List<BitcoinAddressType> BITCOIN_ADDRESS_TYPES = [
|
const List<BitcoinAddressType> BITCOIN_ADDRESS_TYPES = [
|
||||||
SegwitAddresType.p2wpkh,
|
SegwitAddresType.p2wpkh,
|
||||||
P2pkhAddressType.p2pkh,
|
P2pkhAddressType.p2pkh,
|
||||||
SegwitAddresType.p2tr,
|
SegwitAddresType.p2tr,
|
||||||
SegwitAddresType.p2wsh,
|
SegwitAddresType.p2wsh,
|
||||||
P2shAddressType.p2wpkhInP2sh,
|
P2shAddressType.p2wpkhInP2sh,
|
||||||
];
|
];
|
||||||
|
|
||||||
const List<BitcoinAddressType> LITECOIN_ADDRESS_TYPES = [
|
const List<BitcoinAddressType> LITECOIN_ADDRESS_TYPES = [
|
||||||
SegwitAddresType.p2wpkh,
|
SegwitAddresType.p2wpkh,
|
||||||
SegwitAddresType.mweb,
|
SegwitAddresType.mweb,
|
||||||
];
|
];
|
||||||
|
|
||||||
const List<BitcoinAddressType> BITCOIN_CASH_ADDRESS_TYPES = [
|
const List<BitcoinAddressType> BITCOIN_CASH_ADDRESS_TYPES = [
|
||||||
P2pkhAddressType.p2pkh,
|
P2pkhAddressType.p2pkh,
|
||||||
];
|
];
|
||||||
|
|
||||||
class ElectrumSubAddress {
|
class ElectrumSubAddress {
|
||||||
ElectrumSubAddress({
|
ElectrumSubAddress({
|
||||||
required this.id,
|
required this.id,
|
||||||
required this.name,
|
required this.name,
|
||||||
required this.address,
|
required this.address,
|
||||||
required this.txCount,
|
required this.txCount,
|
||||||
required this.balance,
|
required this.balance,
|
||||||
required this.isChange});
|
required this.isChange,
|
||||||
|
required this.derivationPath,
|
||||||
|
});
|
||||||
final int id;
|
final int id;
|
||||||
final String name;
|
final String name;
|
||||||
final String address;
|
final String address;
|
||||||
final int txCount;
|
final int txCount;
|
||||||
final int balance;
|
final int balance;
|
||||||
final bool isChange;
|
final bool isChange;
|
||||||
|
final String derivationPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class Bitcoin {
|
abstract class Bitcoin {
|
||||||
|
|
Loading…
Reference in a new issue