mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 19:39:22 +00:00
Merge branch 'staging' into update-btc-blk-explr
This commit is contained in:
commit
0c42cc818e
6 changed files with 8 additions and 10 deletions
|
@ -46,11 +46,9 @@ class _AddWalletViewState extends State<AddWalletView> {
|
|||
_searchFieldController = TextEditingController();
|
||||
_searchFocusNode = FocusNode();
|
||||
coins.remove(Coin.firoTestNet);
|
||||
if (isDesktop) {
|
||||
if (Platform.isWindows) {
|
||||
coins.remove(Coin.monero);
|
||||
coins.remove(Coin.wownero);
|
||||
if (Platform.isWindows) {
|
||||
coins.remove(Coin.monero);
|
||||
}
|
||||
}
|
||||
super.initState();
|
||||
}
|
||||
|
|
|
@ -54,12 +54,10 @@ class _NodesSettings extends ConsumerState<NodesSettings> {
|
|||
void initState() {
|
||||
_coins = _coins.toList();
|
||||
_coins.remove(Coin.firoTestNet);
|
||||
if (isDesktop) {
|
||||
_coins.remove(Coin.wownero);
|
||||
if (Platform.isWindows) {
|
||||
_coins.remove(Coin.monero);
|
||||
_coins.remove(Coin.wownero);
|
||||
}
|
||||
}
|
||||
|
||||
searchNodeController = TextEditingController();
|
||||
searchNodeFocusNode = FocusNode();
|
||||
|
|
|
@ -45,7 +45,7 @@ import 'package:stackwallet/utilities/prefs.dart';
|
|||
import 'package:tuple/tuple.dart';
|
||||
import 'package:uuid/uuid.dart';
|
||||
|
||||
const int MINIMUM_CONFIRMATIONS = 1;
|
||||
const int MINIMUM_CONFIRMATIONS = 0;
|
||||
const int DUST_LIMIT = 546;
|
||||
|
||||
const String GENESIS_HASH_MAINNET =
|
||||
|
|
|
@ -15,6 +15,7 @@ import 'package:stackwallet/services/coins/particl/particl_wallet.dart'
|
|||
as particl;
|
||||
import 'package:stackwallet/services/coins/wownero/wownero_wallet.dart' as wow;
|
||||
import 'package:stackwallet/utilities/constants.dart';
|
||||
import 'dart:io' show Platform;
|
||||
|
||||
enum Coin {
|
||||
bitcoin,
|
||||
|
@ -41,6 +42,7 @@ enum Coin {
|
|||
}
|
||||
|
||||
final int kTestNetCoinCount = 4; // Util.isDesktop ? 5 : 4;
|
||||
// remove firotestnet for now
|
||||
|
||||
extension CoinExt on Coin {
|
||||
String get prettyName {
|
||||
|
|
|
@ -11,7 +11,7 @@ description: Stack Wallet
|
|||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||
# Read more about iOS versioning at
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
version: 1.6.4+146
|
||||
version: 1.6.5+147
|
||||
|
||||
environment:
|
||||
sdk: ">=2.17.0 <3.0.0"
|
||||
|
|
|
@ -25,7 +25,7 @@ import 'bitcoincash_wallet_test_parameters.dart';
|
|||
void main() async {
|
||||
group("bitcoincash constants", () {
|
||||
test("bitcoincash minimum confirmations", () async {
|
||||
expect(MINIMUM_CONFIRMATIONS, 1);
|
||||
expect(MINIMUM_CONFIRMATIONS, 0);
|
||||
});
|
||||
test("bitcoincash dust limit", () async {
|
||||
expect(DUST_LIMIT, 546);
|
||||
|
|
Loading…
Reference in a new issue