Skip to content

Commit

Permalink
db improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kesar committed Jun 21, 2018
1 parent e64b72a commit df1309f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/sql_db_plugin/db/actions_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void actions_table::add(chain::action action, chain::transaction_id_type transac
chain::abi_serializer abis;
soci::indicator ind;
const auto transaction_id_str = transaction_id.str();
const auto expiration = std::chrono::seconds{transaction_time.sec_since_epoch()}.count();
const auto expiration = boost::chrono::seconds{transaction_time.sec_since_epoch()}.count();

*m_session << "SELECT abi FROM accounts WHERE name = :name", soci::into(abi_def_account, ind), soci::use(action.account.to_string());

Expand Down

0 comments on commit df1309f

Please sign in to comment.