Skip to content

Commit

Permalink
Fix send error in GUI when amount >= 500
Browse files Browse the repository at this point in the history
  • Loading branch information
industrialcoinmagic committed Apr 9, 2015
1 parent 54126a5 commit a5a56cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/walletmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,11 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(const QList<SendCoinsRecipie
int nChangePos = -1;
std::string strFailReason;

if(recipients[0].useInstantX && total > GetSporkValue(SPORK_2_MAX_VALUE)*COIN){
/*if(recipients[0].useInstantX && total > GetSporkValue(SPORK_2_MAX_VALUE)*COIN){
emit message(tr("Send Coins"), tr("InstantX doesn't support sending values that high yet. Transactions are currently limited to %n CRAVE.", "", GetSporkValue(SPORK_2_MAX_VALUE)),true,
CClientUIInterface::MSG_ERROR);
return TransactionCreationFailed;
}
}*/

bool fCreated = wallet->CreateTransaction(vecSend, wtx, keyChange, nFeeRequired, nChangePos, strFailReason, coinControl);

Expand Down

0 comments on commit a5a56cf

Please sign in to comment.