Delegate jsonRpc_ to child method in system.multicall.

pull/1/head
Tatsuhiro Tsujikawa 2011-03-16 00:29:39 +09:00
parent e874a5c56a
commit da0ab67324
1 changed files with 2 additions and 2 deletions

View File

@ -1383,8 +1383,8 @@ SharedHandle<ValueBase> SystemMulticallRpcMethod::process
(DL_ABORT_EX("Recursive system.multicall forbidden.")));
continue;
}
SharedHandle<RpcMethod> method =
RpcMethodFactory::create(methodName->s());
SharedHandle<RpcMethod> method = RpcMethodFactory::create(methodName->s());
method->setJsonRpc(getJsonRpc());
RpcRequest innerReq
(methodName->s(), static_pointer_cast<List>(methodDict->get(KEY_PARAMS)));
RpcResponse res = method->execute(innerReq, e);