From 410e0fbb1edf53517e921c7798157bbce822e63a Mon Sep 17 00:00:00 2001 From: ryleedavis Date: Fri, 6 Oct 2023 14:29:32 -0600 Subject: [PATCH] move BadEpicHttpAddressException to abstract class --- lib/services/coins/epiccash/epiccash_wallet.dart | 11 ----------- lib/wallets/example/libepiccash.dart | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/services/coins/epiccash/epiccash_wallet.dart b/lib/services/coins/epiccash/epiccash_wallet.dart index accd6752e..ac07ef816 100644 --- a/lib/services/coins/epiccash/epiccash_wallet.dart +++ b/lib/services/coins/epiccash/epiccash_wallet.dart @@ -58,17 +58,6 @@ const int MINIMUM_CONFIRMATIONS = 3; const String GENESIS_HASH_MAINNET = ""; const String GENESIS_HASH_TESTNET = ""; -class BadEpicHttpAddressException implements Exception { - final String? message; - - BadEpicHttpAddressException({this.message}); - - @override - String toString() { - return "BadEpicHttpAddressException: $message"; - } -} - abstract class ListenerManager { static Pointer? pointer; } diff --git a/lib/wallets/example/libepiccash.dart b/lib/wallets/example/libepiccash.dart index f07bf1d4a..106eebeb4 100644 --- a/lib/wallets/example/libepiccash.dart +++ b/lib/wallets/example/libepiccash.dart @@ -6,6 +6,17 @@ import 'package:flutter_libepiccash/epic_cash.dart' as lib_epiccash; import 'package:mutex/mutex.dart'; import 'package:stackwallet/models/isar/models/blockchain_data/epic_transaction.dart'; +class BadEpicHttpAddressException implements Exception { + final String? message; + + BadEpicHttpAddressException({this.message}); + + @override + String toString() { + return "BadEpicHttpAddressException: $message"; + } +} + /// /// Wrapped up calls to flutter_libepiccash. ///