mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-20 06:08:34 +02:00
fix sending issue (#1840)
* fix sending issue * Update pr_test_build_android.yml
This commit is contained in:
@@ -534,16 +534,6 @@ abstract class SendViewModelBase extends WalletChangeListenerViewModel with Stor
|
||||
throw Exception('Priority is null for wallet type: ${wallet.type}');
|
||||
}
|
||||
|
||||
if (hasCoinControl) {
|
||||
bool isCoinSelected = false;
|
||||
for (var coin in unspentCoinsListViewModel.items) {
|
||||
isCoinSelected = isCoinSelected || (coin.isSending && !coin.isFrozen);
|
||||
}
|
||||
if (!isCoinSelected) {
|
||||
throw Exception("No coin selected in coin control, you need to select a coin in order to spend");
|
||||
}
|
||||
}
|
||||
|
||||
switch (wallet.type) {
|
||||
case WalletType.bitcoin:
|
||||
case WalletType.litecoin:
|
||||
|
||||
Reference in New Issue
Block a user