mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
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-
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user