Skip to content

Commit 9e20be6

Browse files
committed
f Drop unnecessary scope
1 parent 8d1d04f commit 9e20be6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/chain/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,8 @@ impl ChainSource {
222222

223223
impl Filter for ChainSource {
224224
fn register_tx(&self, txid: &bitcoin::Txid, script_pubkey: &bitcoin::Script) {
225-
{
226-
match self {
227-
Self::Esplora { tx_sync, .. } => tx_sync.register_tx(txid, script_pubkey),
228-
}
225+
match self {
226+
Self::Esplora { tx_sync, .. } => tx_sync.register_tx(txid, script_pubkey),
229227
}
230228
}
231229
fn register_output(&self, output: lightning::chain::WatchedOutput) {

0 commit comments

Comments
 (0)