disable MemoryPool for RouterInfo's address

This commit is contained in:
orignal 2022-12-04 17:49:59 -05:00
parent cb73c7c72e
commit 709c451400
3 changed files with 4 additions and 4 deletions

View file

@ -212,7 +212,7 @@ namespace data
for (int i = 0; i < numAddresses; i++)
{
uint8_t supportedTransports = 0;
auto address = netdb.NewRouterInfoAddress ();
auto address = std::make_shared<Address> (); // netdb.NewRouterInfoAddress ();
uint8_t cost; // ignore
s.read ((char *)&cost, sizeof (cost));
s.read ((char *)&address->date, sizeof (address->date));