From: Matt Corallo Date: Sat, 11 May 2024 16:10:56 +0000 (+0000) Subject: [UPSTREAM] Skip `BestBlock::new` in bindings as we already have one X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=3d133cf3801cdc353a61fa8454f281acdaba0127;p=rust-lightning [UPSTREAM] Skip `BestBlock::new` in bindings as we already have one --- 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 } }