diff options
author | Ryan X. Charles <ryanxcharles@gmail.com> | 2014-12-02 10:02:44 -0800 |
---|---|---|
committer | Ryan X. Charles <ryanxcharles@gmail.com> | 2014-12-02 10:02:44 -0800 |
commit | 65b03282c9cb42fa5de9f2dd70477e44e1e9d37d (patch) | |
tree | 5ada68edfae9facebfa73d2959c15922ef2f4ab8 /src/keystore.h | |
parent | 0286fe5b3be20d0c27c6a71fa1a222166bccfd65 (diff) |
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/keystore.h')
0 files changed, 0 insertions, 0 deletions