remove unnecessary code

the signed_bt_dict field is not used for a Version 0 RC anyway, so no need to handle it here.  That was my bad.
pull/1379/head
Thomas Winget 4 years ago committed by GitHub
parent c04cbfe34f
commit 4f3ed5d1c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -266,12 +266,7 @@ namespace llarp
bool
RouterContact::DecodeVersion_0(llarp_buffer_t* buf)
{
auto begin = reinterpret_cast<char*>(buf->cur);
if (not bencode_decode_dict(*this, buf))
return false;
auto end = reinterpret_cast<char*>(buf->cur);
signed_bt_dict = std::string(begin, std::distance(begin, end));
return true;
return bencode_decode_dict(*this, buf);
}
bool

Loading…
Cancel
Save