From e16bd90a6883f1738dfad14ddacd7598aa06bf66 Mon Sep 17 00:00:00 2001 From: julian-CStack Date: Thu, 23 Mar 2023 09:09:30 -0600 Subject: [PATCH 1/2] BCH 0-conf --- lib/services/coins/bitcoincash/bitcoincash_wallet.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/coins/bitcoincash/bitcoincash_wallet.dart b/lib/services/coins/bitcoincash/bitcoincash_wallet.dart index e69833047..a0c764ca3 100644 --- a/lib/services/coins/bitcoincash/bitcoincash_wallet.dart +++ b/lib/services/coins/bitcoincash/bitcoincash_wallet.dart @@ -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 = From 9b91948b1101ee1cdaca451f13cd50f767463475 Mon Sep 17 00:00:00 2001 From: julian-CStack Date: Thu, 23 Mar 2023 17:53:56 -0600 Subject: [PATCH 2/2] BCH 0-conf test update --- test/services/coins/bitcoincash/bitcoincash_wallet_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/services/coins/bitcoincash/bitcoincash_wallet_test.dart b/test/services/coins/bitcoincash/bitcoincash_wallet_test.dart index 20ab88a53..bdc3c71e9 100644 --- a/test/services/coins/bitcoincash/bitcoincash_wallet_test.dart +++ b/test/services/coins/bitcoincash/bitcoincash_wallet_test.dart @@ -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);