We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4ba5c7 + cfb7565 commit 63d79ddCopy full SHA for 63d79dd
src/qt/sendcoinsdialog.cpp
@@ -781,7 +781,7 @@ void SendCoinsDialog::useAvailableBalance(SendCoinsEntry* entry)
781
CAmount amount = valueFor(model->wallet().getAvailableBalance(*m_coin_control), ::policyAsset);
782
for (int i = 0; i < ui->entries->count(); ++i) {
783
SendCoinsEntry* e = qobject_cast<SendCoinsEntry*>(ui->entries->itemAt(i)->widget());
784
- if (e && !e->isHidden() && e != entry) {
+ if (e && !e->isHidden() && e != entry && e->getValue().asset == ::policyAsset) {
785
amount -= e->getValue().asset_amount;
786
}
787
0 commit comments