KOSASIH / Galactic-Chain

Unnecessary else / elif used after return PYL-R1705
Style
Major
1 occurrence in this check
Unnecessary "elif" after "return", remove the leading "el" from "elif"
16        return private_key, public_key
17
18    def perform_operation(self, operation, params):
19        if operation == "add":20            point1 = self.decode_point(params["point1"])
21            point2 = self.decode_point(params["point2"])
22            result = point1 + point2