Merge branch 'staging' into update-btc-blk-explr

This commit is contained in:
julian-CStack 2023-03-24 12:34:50 -06:00 committed by GitHub
commit 0c42cc818e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 10 deletions

View file

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

View file

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

View file

@ -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 =

View file

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

View file

@ -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"

View file

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