diff options
Diffstat (limited to 'src/rpc/server.h')
-rw-r--r-- | src/rpc/server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/server.h b/src/rpc/server.h index 1c587ae88f..6da3e94ea2 100644 --- a/src/rpc/server.h +++ b/src/rpc/server.h @@ -112,6 +112,8 @@ public: fn().GetArgNames(), intptr_t(fn)) { + CHECK_NONFATAL(fn().m_name == name_in); + CHECK_NONFATAL(fn().GetArgNames() == args_in); } //! Simplified constructor taking plain rpcfn_type function pointer. |