diff --git a/plugins/producer_plugin/test/test_disallow_delayed_trx.cpp b/plugins/producer_plugin/test/test_disallow_delayed_trx.cpp index 7189fb4e1a..3723970ffc 100644 --- a/plugins/producer_plugin/test/test_disallow_delayed_trx.cpp +++ b/plugins/producer_plugin/test/test_disallow_delayed_trx.cpp @@ -82,7 +82,7 @@ BOOST_AUTO_TEST_CASE(delayed_trx) { false, transaction_metadata::trx_type::input, return_failure_traces, - [ptrx, return_failure_traces] (const next_function_variant& result) { + [ptrx] (const next_function_variant& result) { elog( "trace with except ${e}", ("e", fc::json::to_pretty_string( *std::get( result ) )) ); } ),