aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r--src/rpc/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index b8dc148eae..7dfe69a6c5 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -391,7 +391,7 @@ UniValue RPCConvertNamedValues(const std::string &strMethod, const std::vector<s
// Use pushKVEnd instead of pushKV to avoid overwriting an explicit
// "args" value with an implicit one. Let the RPC server handle the
// request as given.
- params.pushKVEnd("args", positional_args);
+ params.pushKVEnd("args", std::move(positional_args));
}
return params;