Skip to content

Commit 79a4a1a

Browse files
committed
Skip BestBlock::new in bindings as we already have one
1 parent 0ffa4b3 commit 79a4a1a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/chain/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ impl BestBlock {
5252
}
5353

5454
/// Returns a `BestBlock` as identified by the given block hash and height.
55+
///
56+
/// This is not exported to bindings users directly as the bindings auto-generate an
57+
/// equivalent `new`.
5558
pub fn new(block_hash: BlockHash, height: u32) -> Self {
5659
BestBlock { block_hash, height }
5760
}

0 commit comments

Comments
 (0)