Fix test failures due to now-required expiration
This commit is contained in:
parent
a751d90e00
commit
15724170b8
2 changed files with 3 additions and 0 deletions
|
|
@ -909,6 +909,7 @@ BOOST_FIXTURE_TEST_CASE( max_authority_membership, database_fixture )
|
|||
private_key_type privkey = generate_private_key( seed );
|
||||
private_keys.push_back( privkey );
|
||||
}
|
||||
tx.set_expiration( db.head_block_time() + fc::minutes(5) );
|
||||
ptx = PUSH_TX( db, tx, ~0 );
|
||||
|
||||
vector<public_key_type> key_ids;
|
||||
|
|
@ -946,6 +947,7 @@ BOOST_FIXTURE_TEST_CASE( max_authority_membership, database_fixture )
|
|||
anon_create_op.name = generate_anon_acct_name();
|
||||
|
||||
tx.operations.push_back( anon_create_op );
|
||||
tx.set_expiration( db.head_block_time() + fc::minutes(5) );
|
||||
|
||||
if( num_keys > max_authority_membership )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1391,6 +1391,7 @@ BOOST_AUTO_TEST_CASE( vesting_balance_withdraw_test )
|
|||
create_op.amount = amount;
|
||||
create_op.policy = cdd_vesting_policy_initializer(vesting_seconds);
|
||||
tx.operations.push_back( create_op );
|
||||
tx.set_expiration( db.head_block_time() + fc::minutes(5) );
|
||||
|
||||
processed_transaction ptx = PUSH_TX( db, tx, ~0 );
|
||||
const vesting_balance_object& vbo = vesting_balance_id_type(
|
||||
|
|
|
|||
Loading…
Reference in a new issue