From 3fc3166b28c4c977b44a3933c08603ab6f1b15bb Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 11 May 2024 16:10:56 +0000 Subject: [PATCH] Skip `BestBlock::new` in bindings as we already have one --- lightning/src/chain/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lightning/src/chain/mod.rs b/lightning/src/chain/mod.rs index 8639e268d..71b29b672 100644 --- a/lightning/src/chain/mod.rs +++ b/lightning/src/chain/mod.rs @@ -52,6 +52,9 @@ impl BestBlock { } /// Returns a `BestBlock` as identified by the given block hash and height. + /// + /// This is not exported to bindings users directly as the bindings auto-generate an + /// equivalent `new`. pub fn new(block_hash: BlockHash, height: u32) -> Self { BestBlock { block_hash, height } } -- 2.39.5