Merge pull request #1156 from majestrate/make-goissp-work

make gossip serialize gossip messages
pull/1158/head v0.7.0-rc1
Jeff 4 years ago committed by GitHub
commit ef8570ff58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -88,7 +88,7 @@ namespace llarp
return;
// encode message
ILinkSession::Message_t msg;
msg.reserve(MAX_LINK_MSG_SIZE / 2);
msg.resize(MAX_LINK_MSG_SIZE / 2);
llarp_buffer_t buf(msg);
if(not gossip.BEncode(&buf))
return;

Loading…
Cancel
Save