Browse Source

Fix for no solidity.

cl-refactor
Gav Wood 10 years ago
parent
commit
fc7f01a83b
  1. 5
      libweb3jsonrpc/WebThreeStubServerBase.cpp

5
libweb3jsonrpc/WebThreeStubServerBase.cpp

@ -779,7 +779,6 @@ string WebThreeStubServerBase::eth_compileSerpent(string const& _source)
{
// TODO throw here jsonrpc errors
string res;
(void)_source;
#if ETH_SERPENT || !ETH_TRUE
try
{
@ -793,6 +792,8 @@ string WebThreeStubServerBase::eth_compileSerpent(string const& _source)
{
cwarn << "Uncought serpent compilation exception";
}
#else
(void)_source;
#endif
return res;
}
@ -840,6 +841,8 @@ Json::Value WebThreeStubServerBase::eth_compileSolidity(string const& _source)
cwarn << "Uncought solidity compilation exception";
return Json::Value(Json::objectValue);
}
#else
(void)_source;
#endif
return res;
}

Loading…
Cancel
Save