Browse Source

Delegate jsonRpc_ to child method in system.multicall.

Tatsuhiro Tsujikawa 14 years ago
parent
commit
da0ab67324
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/RpcMethodImpl.cc

+ 2 - 2
src/RpcMethodImpl.cc

@@ -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);