From da0ab67324ad0bd7fa3defde1ddb8d266fba3674 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 16 Mar 2011 00:29:39 +0900 Subject: [PATCH] Delegate jsonRpc_ to child method in system.multicall. --- src/RpcMethodImpl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);