diff options
| author | Andrew Chow <[email protected]> | 2017-06-08 17:38:23 -0700 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-08-29 10:09:41 +0200 |
| commit | ec6902d0ea2bbe75179684fc71849d5e34647a14 (patch) | |
| tree | 42393f7b18521829584072668b2f2e1c1c069e00 /src/qt/test/rpcnestedtests.cpp | |
| parent | Merge #11144: Move local include to before system includes (diff) | |
| download | discoin-ec6902d0ea2bbe75179684fc71849d5e34647a14.tar.xz discoin-ec6902d0ea2bbe75179684fc71849d5e34647a14.zip | |
rpc: Push down safe mode checks
This contains most of the changes of 10563 "remove safe mode", but doesn't
remove the safe mode yet, but put an `ObserveSafeMode()` check in
individual calls with okSafeMode=false.
This cleans up the ugly "okSafeMode" flag from the dispatch tables,
which is not a concern for the RPC server.
Extra-author: Wladimir J. van der Laan <[email protected]>
Diffstat (limited to 'src/qt/test/rpcnestedtests.cpp')
| -rw-r--r-- | src/qt/test/rpcnestedtests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/test/rpcnestedtests.cpp b/src/qt/test/rpcnestedtests.cpp index cd9ab2345..cb781c832 100644 --- a/src/qt/test/rpcnestedtests.cpp +++ b/src/qt/test/rpcnestedtests.cpp @@ -29,7 +29,7 @@ static UniValue rpcNestedTest_rpc(const JSONRPCRequest& request) static const CRPCCommand vRPCCommands[] = { - { "test", "rpcNestedTest", &rpcNestedTest_rpc, true, {} }, + { "test", "rpcNestedTest", &rpcNestedTest_rpc, {} }, }; void RPCNestedTests::rpcNestedTests() |