From 3d133cf3801cdc353a61fa8454f281acdaba0127 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 11 May 2024 16:10:56 +0000 Subject: [PATCH] [UPSTREAM] 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 a8afc7a1a..947530085 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