diff --git a/src/RpcMethodImpl.cc b/src/RpcMethodImpl.cc index fd3e0653..763a4d32 100644 --- a/src/RpcMethodImpl.cc +++ b/src/RpcMethodImpl.cc @@ -1383,8 +1383,8 @@ SharedHandle SystemMulticallRpcMethod::process (DL_ABORT_EX("Recursive system.multicall forbidden."))); continue; } - SharedHandle method = - RpcMethodFactory::create(methodName->s()); + SharedHandle method = RpcMethodFactory::create(methodName->s()); + method->setJsonRpc(getJsonRpc()); RpcRequest innerReq (methodName->s(), static_pointer_cast(methodDict->get(KEY_PARAMS))); RpcResponse res = method->execute(innerReq, e);