Move get_addresses to network_graph and drop now-useless log_trace
authorMatt Corallo <git@bluematt.me>
Tue, 12 May 2020 01:07:02 +0000 (21:07 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 12 May 2020 18:02:40 +0000 (14:02 -0400)
commit0e3bf19b664ad3f9dd252c9ed50ed365ff827524
tree04228b4b887b3cf32d30249a53e99ab400852603
parent5dc724f87532333059583c6b77ff90fae10cf45d
Move get_addresses to network_graph and drop now-useless log_trace

Because we expose the internals we don't need a method to log
their contents anymore, and get_addresses can now avoid copying as
we expose the RwLock directly
lightning/src/routing/network_graph.rs