Skip to content

Commit 789baa3

Browse files
committed
Adding rotate_through_iterators for select_phantom_hints refactor
- adding function to allow for select_phantom_hints to yield an iterator
1 parent c8a2d79 commit 789baa3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning-invoice/src/utils.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,8 @@ fn rotate_through_iterators<T, I: Iterator<Item = T>>(mut vecs: Vec<I>) -> impl
318318
}
319319
}
320320
})
321+
}
322+
321323
#[cfg(feature = "std")]
322324
/// Utility to construct an invoice. Generally, unless you want to do something like a custom
323325
/// cltv_expiry, this is what you should be using to create an invoice. The reason being, this

0 commit comments

Comments
 (0)