mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-08 19:59:29 +00:00
enable tor for xmr/wow officially
This commit is contained in:
parent
a28e9151db
commit
1f71fbcc73
2 changed files with 7 additions and 0 deletions
|
@ -43,6 +43,9 @@ class Monero extends CryptonoteCurrency {
|
||||||
@override
|
@override
|
||||||
int get minConfirms => 10;
|
int get minConfirms => 10;
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool get torSupport => true;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool validateAddress(String address) {
|
bool validateAddress(String address) {
|
||||||
switch (network) {
|
switch (network) {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import 'package:cw_wownero/api/wallet.dart' as wownero_wallet;
|
import 'package:cw_wownero/api/wallet.dart' as wownero_wallet;
|
||||||
|
|
||||||
import '../../../models/node_model.dart';
|
import '../../../models/node_model.dart';
|
||||||
import '../../../utilities/default_nodes.dart';
|
import '../../../utilities/default_nodes.dart';
|
||||||
import '../../../utilities/enums/derive_path_type_enum.dart';
|
import '../../../utilities/enums/derive_path_type_enum.dart';
|
||||||
|
@ -42,6 +43,9 @@ class Wownero extends CryptonoteCurrency {
|
||||||
@override
|
@override
|
||||||
int get minConfirms => 15;
|
int get minConfirms => 15;
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool get torSupport => true;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool validateAddress(String address) {
|
bool validateAddress(String address) {
|
||||||
return wownero_wallet.addressValid(address);
|
return wownero_wallet.addressValid(address);
|
||||||
|
|
Loading…
Reference in a new issue