add torForOvert flag

This commit is contained in:
sneurlax 2023-10-26 12:29:06 -05:00
parent 3e559a27f3
commit 390bc8026f
3 changed files with 10 additions and 4 deletions

View file

@ -17,6 +17,7 @@ import 'package:stackwallet/services/fusion_tor_service.dart';
import 'package:stackwallet/utilities/bip32_utils.dart';
import 'package:stackwallet/utilities/enums/coin_enum.dart';
import 'package:stackwallet/utilities/logger.dart';
import 'package:stackwallet/utilities/prefs.dart';
import 'package:stackwallet/utilities/stack_file_system.dart';
const String kReservedFusionAddress = "reserved_fusion_address";
@ -105,6 +106,8 @@ mixin FusionWalletInterface {
late final Future<String?> _mnemonicPassphrase;
late final btcdart.NetworkType _network;
final _prefs = Prefs.instance;
// setting values on this should notify any listeners (the GUI)
FusionProgressUIState? _uiState;
FusionProgressUIState get uiState {
@ -462,6 +465,7 @@ mixin FusionWalletInterface {
genesisHashHex:
_coin.isTestNet ? GENESIS_HASH_TESTNET : GENESIS_HASH_MAINNET,
enableDebugPrint: kDebugMode,
torForOvert: _prefs.useTor,
mode: fusion.FusionMode.normal,
);

View file

@ -805,9 +805,11 @@ packages:
fusiondart:
dependency: "direct main"
description:
path: fusiondart
relative: true
source: path
path: "."
ref: "0e7ebee90d90ba0967f773c96e08410d2c87b417"
resolved-ref: "0e7ebee90d90ba0967f773c96e08410d2c87b417"
url: "https://github.com/cypherstack/fusiondart.git"
source: git
version: "1.0.0"
glob:
dependency: transitive

View file

@ -65,7 +65,7 @@ dependencies:
fusiondart:
git:
url: https://github.com/cypherstack/fusiondart.git
ref: 30b9495eaeb3bfcd80b57a1879113a7d85ed054c
ref: 0e7ebee90d90ba0967f773c96e08410d2c87b417
# Utility plugins
http: ^0.13.0