Skip to content

Commit

Permalink
Tests: NetDb: update parameters when adding RI
Browse files Browse the repository at this point in the history
Was not rebased after the buffer refactor in monero-project#926
  • Loading branch information
anonimal committed Jun 30, 2018
1 parent ec3fede commit 1cd3797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit_tests/core/router/net_db/impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ struct NetDbFixture : public IdentityExFixture
std::make_pair(true, false),
cap);

m_NetDb->AddRouterInfo(
ri->GetIdentHash(), ri->GetBuffer(), ri->GetBufferLen());
BOOST_CHECK_NO_THROW(
m_NetDb->AddRouterInfo(ri->GetIdentHash(), ri->data(), ri->size()));

return ri;
}
Expand Down

0 comments on commit 1cd3797

Please sign in to comment.