Make `get_outputs_to_watch` return a `Vec` instead of a `HashMap`
authorMatt Corallo <git@bluematt.me>
Sun, 7 Mar 2021 18:00:11 +0000 (13:00 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 8 Mar 2021 16:45:32 +0000 (11:45 -0500)
`get_outputs_to_watch` returned a reference to an existing
`HashMap` avoiding extra clones, but there isn't a huge reason to
do so now that we have to clone to copy it out of the
`ChannelMonitor` mutex. Instead, return a `Vec` since it may be
less memory and it allows us to have a bindings C mapping for the
function.

Co-authored-by: Jeffrey Czyz <jkczyz@gmail.com>
Co-authored-by: Matt Corallo <git@bluematt.me>

No differences found