Increase max depth for trx confirmation callback

This commit is contained in:
abitmore 2018-03-25 17:50:04 -04:00 committed by Miha Čančula
parent a49f8bf47c
commit 94f9c5f3eb
No known key found for this signature in database
GPG key ID: 4FC9D4BD4FBAB9B9

View file

@ -160,7 +160,10 @@ 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}, 5) ); } );
fc::async( [capture_this,this,id,block_num,trx_num,trx,callback]() {
callback( fc::variant( transaction_confirmation{ id, block_num, trx_num, trx },
GRAPHENE_MAX_NESTED_OBJECTS ) );
} );
}
}
}