Skip to content

Commit

Permalink
GH-1328 fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jun 28, 2023
1 parent fededf1 commit 1abee9a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3359,17 +3359,9 @@ namespace eosio {
}
switch (msg.known_trx.mode) {
case none:
<<<<<<< HEAD
break;
case last_irr_catch_up:
case catch_up : {
fc::unique_lock g_conn( conn_mtx );
last_handshake_recv.head_num = msg.known_blocks.pending;
=======
case last_irr_catch_up: {
std::unique_lock<std::mutex> g_conn( conn_mtx );
fc::unique_lock g_conn( conn_mtx );
last_handshake_recv.head_num = std::max(msg.known_blocks.pending, last_handshake_recv.head_num);
>>>>>>> origin/release/4.0
g_conn.unlock();
break;
}
Expand Down

0 comments on commit 1abee9a

Please sign in to comment.