enable tor for xmr/wow officially

This commit is contained in:
julian 2024-06-12 15:20:53 -06:00
parent a28e9151db
commit 1f71fbcc73
2 changed files with 7 additions and 0 deletions

View file

@ -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) {

View file

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