Remove unnecessary parentheses

This commit is contained in:
Luke Parker 2022-08-12 15:53:48 -04:00
parent a423c23c1e
commit 96a49d8a88
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6

View file

@ -379,7 +379,7 @@ impl Rpc {
.map(|(i, out)| { .map(|(i, out)| {
Ok(Some([rpc_point(&out.key)?, rpc_point(&out.mask)?]).filter(|_| { Ok(Some([rpc_point(&out.key)?, rpc_point(&out.mask)?]).filter(|_| {
match txs[i].prefix.timelock { match txs[i].prefix.timelock {
Timelock::Block(t_height) => (t_height <= height), Timelock::Block(t_height) => t_height <= height,
_ => false, _ => false,
} }
})) }))