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

Commit

Permalink
fix compilation errors on certain linux platforms #6115
Browse files Browse the repository at this point in the history
  • Loading branch information
arhag committed Apr 5, 2019
1 parent aa83af6 commit 04e7b90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libraries/chain/apply_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ void apply_context::schedule_deferred_transaction( const uint128_t& sender_id, a
fc::raw::pack( deferred_transaction_generation_context( trx_context.id, sender_id, receiver ) )
);
}
trx.expiration = {};
trx.expiration = time_point_sec();
trx.ref_block_num = 0;
trx.ref_block_prefix = 0;
} else {
Expand Down
4 changes: 2 additions & 2 deletions libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ struct controller_impl {
etrx.actions.emplace_back( vector<permission_level>{{gtrx.sender, config::active_name}},
onerror( gtrx.sender_id, gtrx.packed_trx.data(), gtrx.packed_trx.size() ) );
if( self.is_builtin_activated( builtin_protocol_feature_t::no_duplicate_deferred_id ) ) {
etrx.expiration = {};
etrx.expiration = time_point_sec();
etrx.ref_block_num = 0;
etrx.ref_block_prefix = 0;
} else {
Expand Down Expand Up @@ -2149,7 +2149,7 @@ struct controller_impl {
signed_transaction trx;
trx.actions.emplace_back(std::move(on_block_act));
if( self.is_builtin_activated( builtin_protocol_feature_t::no_duplicate_deferred_id ) ) {
trx.expiration = {};
trx.expiration = time_point_sec();
trx.ref_block_num = 0;
trx.ref_block_prefix = 0;
} else {
Expand Down

0 comments on commit 04e7b90

Please sign in to comment.