Skip to content

Commit

Permalink
Fix wallet build steemit#2172
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed Mar 1, 2018
1 parent d70d495 commit b188416
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion libraries/wallet/include/steem/wallet/remote_node_api.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ struct remote_node_api
vector< condenser_api::api_witness_object > get_witnesses_by_vote( account_name_type, uint32_t );
vector< account_name_type > lookup_witness_accounts( string, uint32_t );
uint64_t get_witness_count();
vector< condenser_api::extended_limit_order > get_open_orders( account_name_type );
vector< condenser_api::api_limit_order_object > get_open_orders( account_name_type );
string get_transaction_hex( signed_transaction );
annotated_signed_transaction get_transaction( transaction_id_type );
set< public_key_type > get_required_signatures( signed_transaction, flat_set< public_key_type > );
Expand Down
2 changes: 1 addition & 1 deletion libraries/wallet/include/steem/wallet/wallet.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ class wallet_api
* @param limit Maximum number of orders to return for bids and asks. Max is 1000.
*/
condenser_api::get_order_book_return get_order_book( uint32_t limit = 1000 );
vector< condenser_api::extended_limit_order > get_open_orders( string accountname );
vector< condenser_api::api_limit_order_object > get_open_orders( string accountname );

/**
* Creates a limit order at the price amount_to_sell / min_to_receive and will deduct amount_to_sell from account
Expand Down
2 changes: 1 addition & 1 deletion libraries/wallet/remote_node_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ uint64_t remote_node_api::get_witness_count()
FC_ASSERT( false );
}

vector< condenser_api::extended_limit_order > remote_node_api::get_open_orders( account_name_type )
vector< condenser_api::api_limit_order_object > remote_node_api::get_open_orders( account_name_type )
{
FC_ASSERT( false );
}
Expand Down
4 changes: 2 additions & 2 deletions libraries/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ class wallet_api_impl
return ss.str();
};
m["get_open_orders"] = []( variant result, const fc::variants& a ) {
auto orders = result.as<vector<condenser_api::extended_limit_order>>();
auto orders = result.as<vector<condenser_api::api_limit_order_object>>();

std::stringstream ss;

Expand Down Expand Up @@ -2117,7 +2117,7 @@ condenser_api::get_order_book_return wallet_api::get_order_book( uint32_t limit
return my->_remote_api->get_order_book( limit );
}

vector< condenser_api::extended_limit_order > wallet_api::get_open_orders( string owner )
vector< condenser_api::api_limit_order_object > wallet_api::get_open_orders( string owner )
{
return my->_remote_api->get_open_orders( owner );
}
Expand Down

0 comments on commit b188416

Please sign in to comment.