Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Update to match version syntax of latest appbase. #724
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Nov 30, 2017
1 parent dcb9212 commit 2c76c67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/chain_plugin/chain_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ read_only::get_info_results read_only::get_info(const read_only::get_info_params
return r;
};
return {
itoh(static_cast<uint32_t>(app().version_int())),
itoh(static_cast<uint32_t>(app().version())),
db.head_block_num(),
db.last_irreversible_block_num(),
db.head_block_id(),
Expand Down
2 changes: 1 addition & 1 deletion plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2296,7 +2296,7 @@ namespace eosio {
sync_manager::logger.set_log_level(logl);
}

my->network_version = static_cast<uint16_t>(app().version_int());
my->network_version = static_cast<uint16_t>(app().version());
my->network_version_match = options.at("network-version-match").as<bool>();
my->send_whole_blocks = def_send_whole_blocks;

Expand Down
2 changes: 1 addition & 1 deletion programs/eosd/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ int main(int argc, char** argv)
{
try {
app().set_version(eosio::eosd::config::version);
ilog("eosd version ${ver}", ("ver", eosio::eosd::config::itoh(static_cast<uint32_t>(app().version_int()))));
ilog("eosd version ${ver}", ("ver", eosio::eosd::config::itoh(static_cast<uint32_t>(app().version()))));
app().register_plugin<net_api_plugin>();
app().register_plugin<chain_api_plugin>();
app().register_plugin<wallet_api_plugin>();
Expand Down

0 comments on commit 2c76c67

Please sign in to comment.