mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Remove GetAdjustedTime
This commit is contained in:
parent
4b1196a985
commit
ff9039f6ea
13 changed files with 15 additions and 29 deletions
|
|
@ -33,11 +33,6 @@ int64_t GetTimeOffset()
|
|||
return nTimeOffset;
|
||||
}
|
||||
|
||||
NodeClock::time_point GetAdjustedTime()
|
||||
{
|
||||
return NodeClock::now() + std::chrono::seconds{GetTimeOffset()};
|
||||
}
|
||||
|
||||
#define BITCOIN_TIMEDATA_MAX_SAMPLES 200
|
||||
|
||||
static std::set<CNetAddr> g_sources;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue