diff options
author | Antoine A <> | 2023-10-06 03:58:16 +0200 |
---|---|---|
committer | Antoine A <> | 2023-10-06 03:58:16 +0200 |
commit | c3f80619983e4eb80897c87add51bc70594e4b54 (patch) | |
tree | 5cb0ee4462cadeea7d230041e3dbbdc8936c0718 /eth-wire/src/lib.rs | |
parent | 2e685701559118da856a0cde10849d82a112c9c7 (diff) | |
download | depolymerization-c3f80619983e4eb80897c87add51bc70594e4b54.tar.gz depolymerization-c3f80619983e4eb80897c87add51bc70594e4b54.tar.bz2 depolymerization-c3f80619983e4eb80897c87add51bc70594e4b54.zip |
Clean code
Diffstat (limited to 'eth-wire/src/lib.rs')
-rw-r--r-- | eth-wire/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth-wire/src/lib.rs b/eth-wire/src/lib.rs index 71ab818..6f3031b 100644 --- a/eth-wire/src/lib.rs +++ b/eth-wire/src/lib.rs @@ -119,7 +119,7 @@ pub trait RpcExtended: RpcClient { txs.into_iter() .filter_map(|tx| { (tx.from == Some(*address) || tx.to == Some(*address)) - .then(|| SyncTransaction { tx, confirmations }) + .then_some(SyncTransaction { tx, confirmations }) }) .collect() }; |