From 5388fc90da2c4b1c2835e87e1d4cb2086a3fbebd Mon Sep 17 00:00:00 2001 From: anyshy Date: Mon, 16 Oct 2023 10:11:34 +0800 Subject: [PATCH] format fix --- kafka_plugin.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kafka_plugin.cpp b/kafka_plugin.cpp index 9259738..0b45618 100755 --- a/kafka_plugin.cpp +++ b/kafka_plugin.cpp @@ -194,9 +194,10 @@ namespace eosio { trasaction_info_st transactioninfo = trasaction_info_st{ .block_number = t->block_num,//chain.pending_block_state()->block_num, .chain_id = this->chain_id, - .trace =chain::transaction_trace_ptr(t) + .trace =chain::transaction_trace_ptr(t), + .block_time = chain.pending_block_time(), }; - transactioninfo.block_time = chain.pending_block_time(); + trasaction_info_st &info_t = transactioninfo; //elog("###trxId = ${e}", ("e", t->id)); queue(transaction_trace_queue, info_t);