mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
[Qt] Add Smartfee to GUI
This commit is contained in:
@@ -277,6 +277,10 @@ WalletModel::SendCoinsReturn WalletModel::prepareTransaction(WalletModelTransact
|
||||
CClientUIInterface::MSG_ERROR);
|
||||
return TransactionCreationFailed;
|
||||
}
|
||||
|
||||
// reject insane fee > 0.1 bitcoin
|
||||
if (nFeeRequired > 10000000)
|
||||
return InsaneFee;
|
||||
}
|
||||
|
||||
return SendCoinsReturn(OK);
|
||||
|
||||
Reference in New Issue
Block a user