fix: invalid Object in sendData

This commit is contained in:
Rafael Saes 2024-04-05 19:20:18 -03:00
parent b47b1d5d1c
commit 2b23ab1993

View file

@ -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;