mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 03:06:29 +00:00
add torForOvert flag
This commit is contained in:
parent
3e559a27f3
commit
390bc8026f
3 changed files with 10 additions and 4 deletions
|
@ -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,
|
||||
);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -65,7 +65,7 @@ dependencies:
|
|||
fusiondart:
|
||||
git:
|
||||
url: https://github.com/cypherstack/fusiondart.git
|
||||
ref: 30b9495eaeb3bfcd80b57a1879113a7d85ed054c
|
||||
ref: 0e7ebee90d90ba0967f773c96e08410d2c87b417
|
||||
|
||||
# Utility plugins
|
||||
http: ^0.13.0
|
||||
|
|
Loading…
Reference in a new issue