rename variable

pull/1073/head
Jeff Becker 4 years ago
parent f6c4181e14
commit 837998eb88
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -73,9 +73,9 @@ namespace llarp
m_LastGossipedOurRC = now; m_LastGossipedOurRC = now;
} }
// send unwarrented GRCM as gossip method // send a GRCM as gossip method
DHTImmediateMessage unwarrentedGRCM; DHTImmediateMessage gossip;
unwarrentedGRCM.msgs.emplace_back( gossip.msgs.emplace_back(
new dht::GotRouterMessage(dht::Key_t{}, 0, {rc}, false)); new dht::GotRouterMessage(dht::Key_t{}, 0, {rc}, false));
// send it to everyone // send it to everyone
@ -91,7 +91,7 @@ namespace llarp
ILinkSession::Message_t msg; ILinkSession::Message_t msg;
msg.reserve(MAX_LINK_MSG_SIZE / 2); msg.reserve(MAX_LINK_MSG_SIZE / 2);
llarp_buffer_t buf(msg); llarp_buffer_t buf(msg);
if(not unwarrentedGRCM.BEncode(&buf)) if(not gossip.BEncode(&buf))
return; return;
msg.resize(buf.cur - buf.base); msg.resize(buf.cur - buf.base);
// send message // send message

Loading…
Cancel
Save