Remove redundant `is_none()` check
authorElias Rohrer <ero@tnull.de>
Mon, 5 Sep 2022 10:18:30 +0000 (12:18 +0200)
committerElias Rohrer <ero@tnull.de>
Mon, 5 Sep 2022 10:18:30 +0000 (12:18 +0200)
commit64d7bdce16ae5a6d83cc290551b42574db177193
tree1785b7be34fdf8d426a228fa92ae4c7918c84a80
parent39dda99b6977b8d976f4827486004503da91a760
Remove redundant `is_none()` check

We don't need to check the same iterator twice. And, as at this point
pubkey will always be `Some(..)`, we don't need to check it either.
We therefore can just remove the first part of the condition.
src/cli.rs