From de9a9fb340dc48e5f6647e0b8f57d6cf73bfb189 Mon Sep 17 00:00:00 2001 From: woodser Date: Tue, 1 Sep 2020 17:30:00 -0400 Subject: [PATCH] update error message "No unlocked balance in the specified account" --- src/wallet/wallet2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 918b3fd41..c7a3e7904 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -10352,7 +10352,7 @@ std::vector wallet2::create_transactions_all(uint64_t below const size_t tx_weight_per_ring = tx_weight_two_rings - tx_weight_one_ring; const uint64_t fractional_threshold = (fee_multiplier * base_fee * tx_weight_per_ring) / (use_per_byte_fee ? 1 : 1024); - THROW_WALLET_EXCEPTION_IF(unlocked_balance(subaddr_account, false) == 0, error::wallet_internal_error, "No unlocked balance in the entire wallet"); + THROW_WALLET_EXCEPTION_IF(unlocked_balance(subaddr_account, false) == 0, error::wallet_internal_error, "No unlocked balance in the specified account"); std::map, std::vector>> unused_transfer_dust_indices_per_subaddr;