Skip to content

Commit eb31aeb

Browse files
Trivial: use full path in test macros
Useful when using these macros in lightning-tests/upgrade_downgrade_tests
1 parent caf0aac commit eb31aeb

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

lightning/src/ln/functional_test_utils.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ macro_rules! _reload_node_inner {
13831383
);
13841384
$node.chain_monitor = &$new_chain_monitor;
13851385

1386-
$new_channelmanager = _reload_node(
1386+
$new_channelmanager = $crate::ln::functional_test_utils::_reload_node(
13871387
&$node,
13881388
$new_config,
13891389
&chanman_encoded,
@@ -1401,7 +1401,7 @@ macro_rules! reload_node {
14011401
// Reload the node using the node's current config
14021402
($node: expr, $chanman_encoded: expr, $monitors_encoded: expr, $persister: ident, $new_chain_monitor: ident, $new_channelmanager: ident) => {
14031403
let config = $node.node.get_current_config();
1404-
_reload_node_inner!(
1404+
$crate::_reload_node_inner!(
14051405
$node,
14061406
config,
14071407
$chanman_encoded,
@@ -1414,7 +1414,7 @@ macro_rules! reload_node {
14141414
};
14151415
// Reload the node with the new provided config
14161416
($node: expr, $new_config: expr, $chanman_encoded: expr, $monitors_encoded: expr, $persister: ident, $new_chain_monitor: ident, $new_channelmanager: ident) => {
1417-
_reload_node_inner!(
1417+
$crate::_reload_node_inner!(
14181418
$node,
14191419
$new_config,
14201420
$chanman_encoded,
@@ -1431,7 +1431,7 @@ macro_rules! reload_node {
14311431
ident, $new_chain_monitor: ident, $new_channelmanager: ident, $reconstruct_pending_htlcs: expr
14321432
) => {
14331433
let config = $node.node.get_current_config();
1434-
_reload_node_inner!(
1434+
$crate::_reload_node_inner!(
14351435
$node,
14361436
config,
14371437
$chanman_encoded,
@@ -2971,7 +2971,7 @@ pub fn check_payment_claimable(
29712971
#[cfg(any(test, ldk_bench, feature = "_test_utils"))]
29722972
macro_rules! expect_payment_claimable {
29732973
($node: expr, $expected_payment_hash: expr, $expected_payment_secret: expr, $expected_recv_value: expr) => {
2974-
expect_payment_claimable!(
2974+
$crate::expect_payment_claimable!(
29752975
$node,
29762976
$expected_payment_hash,
29772977
$expected_payment_secret,

0 commit comments

Comments
 (0)