diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-04-27 09:19:09 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-04-27 09:19:09 +0200 |
commit | 7da3b0adb836794cb22668b5101a6a4748543ea0 (patch) | |
tree | 7193f0c604d14b1d1fbd1b4b6ba853a7c4f1460b /src/rest.cpp | |
parent | 2ae705d84178fb9faa49f92091206e92379a2c63 (diff) |
rpc: Move RPC_FORBIDDEN_BY_SAFE_MODE code to reserved section
Although this code is no longer ever sent back after removing safe mode,
it would be unwise to remove it from the header.
For one, it would be bad to accidentally re-use the number.
Also some API documentation / bindings are directly generated from the .h
file - this is why the "Aliases for backward compatibility" are there. We don't
want to break code that relies on this error code existing, even if it's never
generated.
So keep it around but move it to a reserved section.
Diffstat (limited to 'src/rest.cpp')
0 files changed, 0 insertions, 0 deletions