Ubuntu 18.04 Upgrade #3
2 changed files with 2 additions and 6 deletions
|
|
@ -17,9 +17,7 @@ http_api_connection::http_api_connection()
|
||||||
api_id_type api_id;
|
api_id_type api_id;
|
||||||
if( args[0].is_string() )
|
if( args[0].is_string() )
|
||||||
{
|
{
|
||||||
variants subargs;
|
variant subresult = this->receive_call( 1, args[0].as_string() );
|
||||||
subargs.push_back( args[0] );
|
|
||||||
variant subresult = this->receive_call( 1, "get_api_by_name", subargs );
|
|
||||||
api_id = subresult.as_uint64();
|
api_id = subresult.as_uint64();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,7 @@ websocket_api_connection::websocket_api_connection( fc::http::websocket_connecti
|
||||||
api_id_type api_id;
|
api_id_type api_id;
|
||||||
if( args[0].is_string() )
|
if( args[0].is_string() )
|
||||||
{
|
{
|
||||||
variants subargs;
|
variant subresult = this->receive_call( 1, args[0].as_string() );
|
||||||
subargs.push_back( args[0] );
|
|
||||||
variant subresult = this->receive_call( 1, "get_api_by_name", subargs );
|
|
||||||
api_id = subresult.as_uint64();
|
api_id = subresult.as_uint64();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue