From 9486cdf5491c963e0ba2fc96294c6d4b4619626b Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Fri, 18 Oct 2019 17:54:03 -0400 Subject: [PATCH] Give a better error when tx size estimation fails --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index ea2fa432a3..ae5a160c99 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3538,7 +3538,7 @@ bool CWallet::CreateTransaction(interfaces::Chain::Lock& locked_chain, const std nBytes = CalculateMaximumSignedTxSize(CTransaction(txNew), this, &coin_control); if (nBytes < 0) { - strFailReason = _("Signing transaction failed"); + strFailReason = _("Missing solving data for estimating transaction size"); return false; }