Skip to content

Commit

Permalink
Set tx expiration 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuliting committed Jan 30, 2018
1 parent aab339e commit 0c4acb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3606,7 +3606,7 @@

vector<public_key_type> paying_keys = from_account_obj->active.get_keys();
auto dyn_props = get_dynamic_global_properties();
tx.set_expiration( dyn_props.time + fc::seconds(300 + i) );
tx.set_expiration( dyn_props.time + fc::seconds(30 + i) );
for( public_key_type& key : paying_keys )
{
auto it = _keys.find(key);
Expand Down

0 comments on commit 0c4acb6

Please sign in to comment.