Remove unnecessary parentheses

This commit is contained in:
Luke Parker
2022-08-12 15:53:48 -04:00
parent a423c23c1e
commit 96a49d8a88

View File

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