mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-22 18:54:47 +00:00
fix: invalid Object in sendData
This commit is contained in:
parent
b47b1d5d1c
commit
2b23ab1993
1 changed files with 9 additions and 2 deletions
|
@ -220,7 +220,7 @@ abstract class ElectrumWalletBase
|
|||
chainTip: currentChainTip,
|
||||
electrumClient: ElectrumClient(),
|
||||
transactionHistoryIds: transactionHistory.transactions.keys.toList(),
|
||||
node: node!,
|
||||
node: ScanNode(node!.uri, node!.useSSL),
|
||||
labels: walletAddresses.labels,
|
||||
));
|
||||
|
||||
|
@ -1412,11 +1412,18 @@ abstract class ElectrumWalletBase
|
|||
}
|
||||
}
|
||||
|
||||
class ScanNode {
|
||||
final Uri uri;
|
||||
final bool? useSSL;
|
||||
|
||||
ScanNode(this.uri, this.useSSL);
|
||||
}
|
||||
|
||||
class ScanData {
|
||||
final SendPort sendPort;
|
||||
final SilentPaymentOwner silentAddress;
|
||||
final int height;
|
||||
final Node node;
|
||||
final ScanNode node;
|
||||
final BasedUtxoNetwork network;
|
||||
final int chainTip;
|
||||
final ElectrumClient electrumClient;
|
||||
|
|
Loading…
Reference in a new issue