aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/test/wallet_tests.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-04-18 15:18:17 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-05-01 07:39:06 -0400
commitfae7776690c37104d2d4949429c5f84e6a33c576 (patch)
treed9c999386cc2c85970a2b32f7af6efbb39d114eb /src/wallet/test/wallet_tests.cpp
parentfae51a5c6f4270a1088e6295b10a8cc45988ae46 (diff)
downloadbitcoin-fae7776690c37104d2d4949429c5f84e6a33c576.tar.xz
wallet: Avoid translating RPC errors when creating txs
Also, mark feebumper bilingual_str as Untranslated They are technical and have previously not been translated either. It is questionable whether they can even appear in the GUI.
Diffstat (limited to 'src/wallet/test/wallet_tests.cpp')
-rw-r--r--src/wallet/test/wallet_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/test/wallet_tests.cpp b/src/wallet/test/wallet_tests.cpp
index 66e2ae9b62..0826b88f0a 100644
--- a/src/wallet/test/wallet_tests.cpp
+++ b/src/wallet/test/wallet_tests.cpp
@@ -516,7 +516,7 @@ public:
CTransactionRef tx;
CAmount fee;
int changePos = -1;
- std::string error;
+ bilingual_str error;
CCoinControl dummy;
{
BOOST_CHECK(wallet->CreateTransaction({recipient}, tx, fee, changePos, error, dummy));