You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good catch. It's actually reading something undefined at the end of the vector. The code reads like this:
if (peer->inventory_advertised_to_peer.find(item_to_advertise) == peer->inventory_advertised_to_peer.end() )
wdump((*peer->inventory_advertised_to_peer.find(item_to_advertise)));
if (peer->inventory_peer_advertised_to_us.find(item_to_advertise) == peer->inventory_peer_advertised_to_us.end() )
wdump((*peer->inventory_peer_advertised_to_us.find(item_to_advertise)));
These statements need fixed, they are currently dumping an undefined element is minimal value. I'm not sure what they are intending to dump. I am tempted to suggest removing these four lines entirely since we have enough p2p logspam.
I will assign this ticket to our p2p guru @emfrias but if I don't hear back in a day or two, I'm going to delete the code and close the ticket.
test1
tag."item_type":3624466160
"item_type":3624527728
The text was updated successfully, but these errors were encountered: