Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
moisses89 committed Jun 20, 2024
1 parent b8b048e commit 402cf13
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/safe_cli/operators/safe_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,6 @@ def approve_hash(self, hash_to_approve: HexBytes, sender: str) -> bool:

def sign_message(
self,
eip191_message: Optional[bool] = False,
eip712_message_path: Optional[str] = None,
) -> bool:
if eip712_message_path:
Expand Down
1 change: 0 additions & 1 deletion src/safe_cli/operators/safe_tx_service_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def approve_hash(self, hash_to_approve: HexBytes, sender: str) -> bool:

def sign_message(
self,
eip191_message: Optional[bool] = False,
eip712_message_path: Optional[str] = None,
) -> bool:
if eip712_message_path:
Expand Down
2 changes: 1 addition & 1 deletion src/safe_cli/prompt_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def approve_hash(args):

@safe_exception
def sign_message(args):
safe_operator.sign_message(args.eip191_message, args.eip712_path)
safe_operator.sign_message(args.eip712_path)

@safe_exception
def confirm_message(args):
Expand Down

0 comments on commit 402cf13

Please sign in to comment.