From 8b4215c6a1f567589ebe040d69be9e1896cd9b1d Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 13 Sep 2022 16:21:48 -0600 Subject: [PATCH] Update required btc confirms to 1 --- lib/services/coins/bitcoin/bitcoin_wallet.dart | 2 +- test/services/coins/bitcoin/bitcoin_wallet_test.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/coins/bitcoin/bitcoin_wallet.dart b/lib/services/coins/bitcoin/bitcoin_wallet.dart index ae6d7b70a..e1ea02abe 100644 --- a/lib/services/coins/bitcoin/bitcoin_wallet.dart +++ b/lib/services/coins/bitcoin/bitcoin_wallet.dart @@ -42,7 +42,7 @@ import 'package:stackwallet/utilities/prefs.dart'; import 'package:tuple/tuple.dart'; import 'package:uuid/uuid.dart'; -const int MINIMUM_CONFIRMATIONS = 2; +const int MINIMUM_CONFIRMATIONS = 1; const int DUST_LIMIT = 294; const String GENESIS_HASH_MAINNET = diff --git a/test/services/coins/bitcoin/bitcoin_wallet_test.dart b/test/services/coins/bitcoin/bitcoin_wallet_test.dart index dac980155..c2fb76582 100644 --- a/test/services/coins/bitcoin/bitcoin_wallet_test.dart +++ b/test/services/coins/bitcoin/bitcoin_wallet_test.dart @@ -28,7 +28,7 @@ import 'bitcoin_wallet_test_parameters.dart'; void main() { group("bitcoin constants", () { test("bitcoin minimum confirmations", () async { - expect(MINIMUM_CONFIRMATIONS, 2); + expect(MINIMUM_CONFIRMATIONS, 1); }); test("bitcoin dust limit", () async { expect(DUST_LIMIT, 294);