HomePhabricator

scripted-diff: Use UniValue.pushKV instead of push_back(Pair())

Authored by Karel Bilek <kb@karelbilek.com> on Oct 31 2018, 18:25.

Description

scripted-diff: Use UniValue.pushKV instead of push_back(Pair())

Summary:
-BEGIN VERIFY SCRIPT-
git grep -l "push_back(Pair" | xargs sed -i "s/push_back(Pair(\(.*\)));/pushKV(\1);/g"
-END VERIFY SCRIPT-

Depends on D1989

Test Plan:

make check && ./test/functional/test_runner.py

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1990

Details

Committed
schancelOct 31 2018, 20:56
Pushed
schancelOct 31 2018, 20:56
Reviewer
Restricted Project
Differential Revision
D1990: scripted-diff: Use UniValue.pushKV instead of push_back(Pair())
Parents
rABC6daa39b9af87: Update univalue to latest release (1.0.4)
Branches
Unknown
Tags
Unknown

Event Timeline