From: Matt Corallo Date: Wed, 21 Feb 2018 16:26:23 +0000 (-0500) Subject: Silence warning on essentially-unimplemented chain interface. X-Git-Tag: v0.0.12~429 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=ef8680349f3890b4a412e3ba569aa369ba80b96b;p=rust-lightning Silence warning on essentially-unimplemented chain interface. --- diff --git a/src/chain/rustbitcoinchain.rs b/src/chain/rustbitcoinchain.rs index 13161e9af..9f2573996 100644 --- a/src/chain/rustbitcoinchain.rs +++ b/src/chain/rustbitcoinchain.rs @@ -61,6 +61,6 @@ impl ChainWatchImpl { //TODO: Height self.util.do_call_block_connected(&block.header, 0, &txn_matched[..], &indexes_of_txn_matched[..]); } - self.chain.lock().unwrap().add_block(block); + self.chain.lock().unwrap().add_block(block).unwrap(); } }