Move `Channel::opt_anchors` to `ChannelContext` impl & move some util fns
[rust-lightning] / lightning / src / ln / functional_test_utils.rs
index d4ede8eca992054892513cad99a772693f48ac66..6d980632d1ac41b8d1a7be022db9d65dfba213fa 100644 (file)
@@ -802,7 +802,7 @@ macro_rules! get_opt_anchors {
                        let mut per_peer_state_lock;
                        let mut peer_state_lock;
                        let chan = get_channel_ref!($node, $counterparty_node, per_peer_state_lock, peer_state_lock, $channel_id);
-                       chan.opt_anchors()
+                       chan.context.opt_anchors()
                }
        }
 }