From ef8680349f3890b4a412e3ba569aa369ba80b96b Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 21 Feb 2018 11:26:23 -0500 Subject: [PATCH] Silence warning on essentially-unimplemented chain interface. --- src/chain/rustbitcoinchain.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- 2.39.5