projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24e2234
)
Silence warning on essentially-unimplemented chain interface.
author
Matt Corallo
<git@bluematt.me>
Wed, 21 Feb 2018 16:26:23 +0000
(11:26 -0500)
committer
Matt Corallo
<git@bluematt.me>
Wed, 21 Feb 2018 16:35:43 +0000
(11:35 -0500)
src/chain/rustbitcoinchain.rs
patch
|
blob
|
history
diff --git
a/src/chain/rustbitcoinchain.rs
b/src/chain/rustbitcoinchain.rs
index 13161e9af4bc5acf9bd22224b705feda36f06711..9f2573996a0dd8a750424630b72c1526190271ba 100644
(file)
--- 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()
;
}
}