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"
14        return private_key, public_key
15
16    def perform_operation(self, operation, params):
17        if operation == "add":18            point1 = self.decode_point(params["point1"])
19            point2 = self.decode_point(params["point2"])
20            result = point1 + point2