aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-06-06 18:50:32 +0200
committerWladimir J. van der Laan <[email protected]>2014-06-06 18:51:00 +0200
commit95d68c48d7ae45cb2a7303152816e9391cfbd0c9 (patch)
tree0a25f1f328ca66177c79afcf4422ea99d221f981 /src/qt/walletmodel.cpp
parentMerge pull request #4297 (diff)
parentestimatefee / estimatepriority RPC methods (diff)
downloaddiscoin-95d68c48d7ae45cb2a7303152816e9391cfbd0c9.tar.xz
discoin-95d68c48d7ae45cb2a7303152816e9391cfbd0c9.zip
Merge pull request #3959
171ca77 estimatefee / estimatepriority RPC methods (Gavin Andresen) 0193fb8 Allow multiple regression tests to run at once (Gavin Andresen) c6cb21d Type-safe CFeeRate class (Gavin Andresen)
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r--src/qt/walletmodel.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index 37d82ec06..87ff3db58 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -231,12 +231,6 @@ WalletModel::SendCoinsReturn WalletModel::prepareTransaction(WalletModelTransact
return AmountExceedsBalance;
}
- if((total + nTransactionFee) > nBalance)
- {
- transaction.setTransactionFee(nTransactionFee);
- return SendCoinsReturn(AmountWithFeeExceedsBalance);
- }
-
{
LOCK2(cs_main, wallet->cs_wallet);