未验证 提交 d30120c2 编写于 作者: K Kevin Heifner 提交者: GitHub

Merge pull request #1447 from EOSIO/p2p-fix-trx-echo-master

fix for the problem #1446
......@@ -1470,11 +1470,11 @@ namespace eosio {
void big_msg_manager::bcast_transaction (const transaction_id_type & txnid,
time_point_sec expiration,
const packed_transaction& txn) {
connection_ptr skip;
connection_ptr skip = pending_txn_source;
pending_txn_source.reset();
for (auto ref = req_txn.begin(); ref != req_txn.end(); ++ref) {
if (*ref == txnid) {
skip = pending_txn_source;
pending_txn_source.reset();
req_txn.erase(ref);
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册