Browse Source

Remove double brackets in addrman

0.14
Matt Corallo 8 years ago
parent
commit
303352286f
  1. 6
      src/addrman.h

6
src/addrman.h

@ -528,25 +528,21 @@ public: @@ -528,25 +528,21 @@ public:
//! Mark an entry as accessible.
void Good(const CService &addr, int64_t nTime = GetAdjustedTime())
{
{
LOCK(cs);
Check();
Good_(addr, nTime);
Check();
}
}
//! Mark an entry as connection attempted to.
void Attempt(const CService &addr, bool fCountFailure, int64_t nTime = GetAdjustedTime())
{
{
LOCK(cs);
Check();
Attempt_(addr, fCountFailure, nTime);
Check();
}
}
/**
* Choose an address to connect to.
@ -578,14 +574,12 @@ public: @@ -578,14 +574,12 @@ public:
//! Mark an entry as currently-connected-to.
void Connected(const CService &addr, int64_t nTime = GetAdjustedTime())
{
{
LOCK(cs);
Check();
Connected_(addr, nTime);
Check();
}
}
void SetServices(const CService &addr, ServiceFlags nServices)
{

Loading…
Cancel
Save