diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-10 21:28:29 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-10 21:28:29 +0300 |
commit | 78be8d97d3d750fcfbbe509a72639b7b30b7bd18 (patch) | |
tree | 79e96b0a01d0da90b28b631e0ce7ce38bc96570a /src/wallet/rpcwallet.cpp | |
parent | da16f95c3fecf4ee1e9a1dc4333b0b92cd981afd (diff) | |
download | bitcoin-78be8d97d3d750fcfbbe509a72639b7b30b7bd18.tar.xz |
util: Drop OpOriginal() and OpTranslated()
The current implementation of the Join() allows do not use OpOriginal()
and OpTranslated() unary operators at all.
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index dda00f1fe7..c36d22b4eb 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2597,7 +2597,7 @@ static UniValue loadwallet(const JSONRPCRequest& request) UniValue obj(UniValue::VOBJ); obj.pushKV("name", wallet->GetName()); - obj.pushKV("warning", Join(warnings, "\n", OpOriginal)); + obj.pushKV("warning", Join(warnings, Untranslated("\n")).original); return obj; } @@ -2737,7 +2737,7 @@ static UniValue createwallet(const JSONRPCRequest& request) UniValue obj(UniValue::VOBJ); obj.pushKV("name", wallet->GetName()); - obj.pushKV("warning", Join(warnings, "\n", OpOriginal)); + obj.pushKV("warning", Join(warnings, Untranslated("\n")).original); return obj; } |