diff options
author | Karel Bilek <kb@karelbilek.com> | 2017-09-22 20:04:07 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-02-10 10:05:07 -0500 |
commit | 91986ed206fa830e5985560c6895b0d30b375054 (patch) | |
tree | 4422cee35e5ae916fd72d6dc5bff510e17e5814d /src/wallet/rpcdump.cpp | |
parent | fa1388edb17fc9eca097d93542f8d5db5aa0cf17 (diff) | |
download | bitcoin-91986ed206fa830e5985560c6895b0d30b375054.tar.xz |
scripted-diff: Use UniValue.pushKV instead of push_back(Pair())
-BEGIN VERIFY SCRIPT-
git grep -l "push_back(Pair" | xargs sed -i "s/push_back(Pair(\(.*\)));/pushKV(\1);/g"
-END VERIFY SCRIPT-
Diffstat (limited to 'src/wallet/rpcdump.cpp')
-rw-r--r-- | src/wallet/rpcdump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 03fb824e7a..741ea25340 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -790,7 +790,7 @@ UniValue dumpwallet(const JSONRPCRequest& request) file.close(); UniValue reply(UniValue::VOBJ); - reply.push_back(Pair("filename", filepath.string())); + reply.pushKV("filename", filepath.string()); return reply; } |