Skip to content

Commit ef86803

Browse files
committed
Silence warning on essentially-unimplemented chain interface.
1 parent 24e2234 commit ef86803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chain/rustbitcoinchain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ impl ChainWatchImpl {
6161
//TODO: Height
6262
self.util.do_call_block_connected(&block.header, 0, &txn_matched[..], &indexes_of_txn_matched[..]);
6363
}
64-
self.chain.lock().unwrap().add_block(block);
64+
self.chain.lock().unwrap().add_block(block).unwrap();
6565
}
6666
}

0 commit comments

Comments
 (0)