rpc: Assert that passed arg names are equal to hardcoded ones
This commit is contained in:
1 file changed
+2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user