aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-cli.cpp
diff options
context:
space:
mode:
authorRyan X. Charles <[email protected]>2014-12-02 10:02:44 -0800
committerRyan X. Charles <[email protected]>2014-12-02 10:02:44 -0800
commit65b03282c9cb42fa5de9f2dd70477e44e1e9d37d (patch)
tree5ada68edfae9facebfa73d2959c15922ef2f4ab8 /src/bitcoin-cli.cpp
parentMerge pull request #5401 (diff)
downloaddiscoin-65b03282c9cb42fa5de9f2dd70477e44e1e9d37d.tar.xz
discoin-65b03282c9cb42fa5de9f2dd70477e44e1e9d37d.zip
newlines in strings are invalid JSON
Although script_valid.json and script_invalid.json are loaded correctly by the JSON interpreter used by bitcoin core, these same files are often used by other libraries and do not necessarily load correctly due to the fact that newlines contained inside strings are not valid and must instead use the escape character \n. The files tx_valid.json and tx_invalid.json handle this correctly, so I've changed the formatting in script_valid.json and script_invalid.json to mirror those files.
Diffstat (limited to 'src/bitcoin-cli.cpp')
0 files changed, 0 insertions, 0 deletions