fixing build errors
vest type correction
This commit is contained in:
parent
db01f313e5
commit
2e147f165c
2 changed files with 4 additions and 4 deletions
|
|
@ -1560,7 +1560,7 @@ BOOST_AUTO_TEST_CASE( vesting_balance_create_test )
|
||||||
op.amount = test_asset.amount( 100 );
|
op.amount = test_asset.amount( 100 );
|
||||||
//op.vesting_seconds = 60*60*24;
|
//op.vesting_seconds = 60*60*24;
|
||||||
op.policy = cdd_vesting_policy_initializer{ 60*60*24 };
|
op.policy = cdd_vesting_policy_initializer{ 60*60*24 };
|
||||||
op.balance_type == vesting_balance_type::unspecified;
|
op.balance_type == vesting_balance_type::normal;
|
||||||
|
|
||||||
// Fee must be non-negative
|
// Fee must be non-negative
|
||||||
REQUIRE_OP_VALIDATION_SUCCESS( op, fee, core.amount(1) );
|
REQUIRE_OP_VALIDATION_SUCCESS( op, fee, core.amount(1) );
|
||||||
|
|
@ -1580,7 +1580,7 @@ BOOST_AUTO_TEST_CASE( vesting_balance_create_test )
|
||||||
|
|
||||||
op.creator = alice_account.get_id();
|
op.creator = alice_account.get_id();
|
||||||
op.owner = alice_account.get_id();
|
op.owner = alice_account.get_id();
|
||||||
op.balance_type = vesting_balance_type::unspecified;
|
op.balance_type = vesting_balance_type::normal;
|
||||||
|
|
||||||
account_id_type nobody = account_id_type(1234);
|
account_id_type nobody = account_id_type(1234);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1312,7 +1312,7 @@ BOOST_AUTO_TEST_CASE(zero_second_vbo)
|
||||||
create_op.owner = alice_id;
|
create_op.owner = alice_id;
|
||||||
create_op.amount = asset(500);
|
create_op.amount = asset(500);
|
||||||
create_op.policy = pinit;
|
create_op.policy = pinit;
|
||||||
create_op.balance_type = vesting_balance_type::unspecified;
|
create_op.balance_type = vesting_balance_type::normal;
|
||||||
|
|
||||||
signed_transaction create_tx;
|
signed_transaction create_tx;
|
||||||
create_tx.operations.push_back( create_op );
|
create_tx.operations.push_back( create_op );
|
||||||
|
|
@ -1396,7 +1396,7 @@ BOOST_AUTO_TEST_CASE( vbo_withdraw_different )
|
||||||
create_op.owner = alice_id;
|
create_op.owner = alice_id;
|
||||||
create_op.amount = asset(100, stuff_id);
|
create_op.amount = asset(100, stuff_id);
|
||||||
create_op.policy = pinit;
|
create_op.policy = pinit;
|
||||||
create_op.balance_type = vesting_balance_type::unspecified;
|
create_op.balance_type = vesting_balance_type::normal;
|
||||||
|
|
||||||
signed_transaction create_tx;
|
signed_transaction create_tx;
|
||||||
create_tx.operations.push_back( create_op );
|
create_tx.operations.push_back( create_op );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue