Merge pull request #840 from jkczyz/2021-03-rescan-logic
[rust-lightning] / lightning / src / ln / functional_test_utils.rs
index e7f61c6a3dfeefb23f845b7a47d6ab0efa5abf60..36ca7d64e5d4a2a16e3cb409214b446369ea1843 100644 (file)
@@ -341,7 +341,8 @@ macro_rules! get_feerate {
        }
 }
 
-#[cfg(test)]
+/// Returns any local commitment transactions for the channel.
+#[macro_export]
 macro_rules! get_local_commitment_txn {
        ($node: expr, $channel_id: expr) => {
                {