summaryrefslogtreecommitdiff
path: root/eth-wire/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'eth-wire/src/lib.rs')
-rw-r--r--eth-wire/src/lib.rs2
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()
};