mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge #8914: Kill insecure_random and associated global state
5eaaa83 Kill insecure_random and associated global state (Wladimir J. van der Laan)
This commit is contained in:
commit
cdfb7755a6
28 changed files with 91 additions and 65 deletions
|
|
@ -187,7 +187,8 @@ void AdvertiseLocal(CNode *pnode)
|
|||
if (addrLocal.IsRoutable())
|
||||
{
|
||||
LogPrint("net", "AdvertiseLocal: advertising address %s\n", addrLocal.ToString());
|
||||
pnode->PushAddress(addrLocal);
|
||||
FastRandomContext insecure_rand;
|
||||
pnode->PushAddress(addrLocal, insecure_rand);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue