diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-10-30 18:22:22 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-10-30 18:23:37 +0100 |
commit | 3333e5a1e582225907b201cca64322d7620fbeec (patch) | |
tree | 38815c7743959ac357be455833ecb2de8ae30d16 /src/qt/sendcoinsdialog.cpp | |
parent | d2143dc937e3fc93fd35def25a9c0461f26ccd4f (diff) |
[qt] Return useful error message on ATMP failure
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
-rw-r--r-- | src/qt/sendcoinsdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index d338bbf688..57b2179435 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -534,7 +534,7 @@ void SendCoinsDialog::processSendCoinsReturn(const WalletModel::SendCoinsReturn msgParams.second = CClientUIInterface::MSG_ERROR; break; case WalletModel::TransactionCommitFailed: - msgParams.first = tr("The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here."); + msgParams.first = tr("The transaction was rejected with the following reason: %1").arg(sendCoinsReturn.reasonCommitFailed); msgParams.second = CClientUIInterface::MSG_ERROR; break; case WalletModel::AbsurdFee: |