mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-20 06:08:34 +02:00
fix: silent payments scanning using v10 (#2355)
* fix: silent payments scanning using v10
* chore: no http
* fix: - always scan shows the toggle as disabled after restart
- refresh cancels sp scanning
* Update cw_bitcoin/lib/electrum_wallet.dart [skip ci]
* Update cw_bitcoin/lib/electrum_wallet.dart [skip ci]
* fix: get estimated date of sp tx
---------
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
@@ -38,7 +38,6 @@ import 'package:cake_wallet/view_model/dashboard/payjoin_transaction_list_item.d
|
||||
import 'package:cake_wallet/view_model/dashboard/trade_list_item.dart';
|
||||
import 'package:cake_wallet/view_model/dashboard/transaction_list_item.dart';
|
||||
import 'package:cake_wallet/view_model/settings/sync_mode.dart';
|
||||
import 'package:cake_wallet/wownero/wownero.dart' as wow;
|
||||
import 'package:cryptography/cryptography.dart';
|
||||
import 'package:cw_core/balance.dart';
|
||||
import 'package:cw_core/cake_hive.dart';
|
||||
@@ -890,6 +889,10 @@ abstract class DashboardViewModelBase with Store {
|
||||
final powNode = settingsStore.getCurrentPowNode(wallet.type);
|
||||
await wallet.connectToPowNode(node: powNode);
|
||||
}
|
||||
|
||||
if (hasSilentPayments) {
|
||||
bitcoin!.setScanningActive(wallet, silentPaymentsScanningActive);
|
||||
}
|
||||
}
|
||||
|
||||
@action
|
||||
|
||||
Reference in New Issue
Block a user