diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-11 21:50:47 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-11 21:50:47 +0900 |
| commit | 59e63d956ee63d99202b67a32e8a277f3b04650d (patch) | |
| tree | 40bedb5e5b02cb415a59916be2beee39cd20071e /src/RpcMethodImpl.cc | |
| parent | 7c06b903f3493db95fcf4bd42cccc59e3b4d0692 (diff) | |
Rewrite RPC method factory function
Diffstat (limited to 'src/RpcMethodImpl.cc')
| -rw-r--r-- | src/RpcMethodImpl.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/RpcMethodImpl.cc b/src/RpcMethodImpl.cc index 1edccd63..c7ea16e6 100644 --- a/src/RpcMethodImpl.cc +++ b/src/RpcMethodImpl.cc @@ -1381,8 +1381,7 @@ std::unique_ptr<ValueBase> SystemMulticallRpcMethod::process } else { paramsList = List::g(); } - auto method = RpcMethodFactory::create(methodName->s()); - RpcResponse res = method->execute + RpcResponse res = getMethod(methodName->s())->execute ({methodName->s(), std::move(paramsList), nullptr, req.jsonRpc}, e); if(res.code == 0) { auto l = List::g(); |
