mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-15 12:50:15 +02:00
Both NodeKey1 and NodeKey2 methods had the same race condition as the Node.PubKey method, where concurrent calls could race to write to the cached fields. Remove the caching for the same reasons: parsing overhead is minimal and doesn't justify the complexity and race risk. |
||
|---|---|---|
| .. | ||
| cached_edge_info.go | ||
| cached_edge_policy.go | ||
| channel.go | ||
| channel_auth_proof.go | ||
| channel_edge_info.go | ||
| channel_edge_policy.go | ||
| inbound_fee.go | ||
| inbound_fee_test.go | ||
| node.go | ||