From: Matt Corallo Date: Sat, 11 May 2024 16:10:56 +0000 (+0000) Subject: Skip `BestBlock::new` in bindings as we already have one X-Git-Tag: v0.0.124-beta~121^2~7 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=3fc3166b28c4c977b44a3933c08603ab6f1b15bb;p=rust-lightning 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 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 } }