added owner to lottery_asset_options. commented async call in on_applied_block callback

This commit is contained in:
kstdl 2017-12-27 17:21:56 +03:00
parent 6b3de963a2
commit 186a0e61ea
2 changed files with 4 additions and 2 deletions

View file

@ -125,7 +125,9 @@ namespace graphene { namespace app {
{
auto block_num = b.block_num();
auto& callback = _callbacks.find(id)->second;
fc::async( [capture_this,this,id,block_num,trx_num,trx,callback](){ callback( fc::variant(transaction_confirmation{ id, block_num, trx_num, trx}) ); } );
// fc::async( [capture_this,this,id,block_num,trx_num,trx,callback](){
callback( fc::variant(transaction_confirmation{ id, block_num, trx_num, trx}) );
// } );
}
}
}

View file

@ -658,7 +658,7 @@ FC_REFLECT( graphene::chain::bitasset_options,
FC_REFLECT( graphene::chain::benefactor, (id)(share) )
FC_REFLECT( graphene::chain::lottery_asset_options, (benefactors)(winning_tickets)(ticket_price)(end_date)(ending_on_soldout)(is_active) )
FC_REFLECT( graphene::chain::lottery_asset_options, (benefactors)(owner)(winning_tickets)(ticket_price)(end_date)(ending_on_soldout)(is_active) )
FC_REFLECT( graphene::chain::asset_create_operation::fee_parameters_type, (symbol3)(symbol4)(long_symbol)(price_per_kbyte) )